Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 173.6 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8931/0.8931, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 3.938 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.284e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004972/0.004984, allocations: 6.425 MB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.007458, allocations: 2.474 MB / 282.4 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.007665, allocations: 20 kB / 282.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.009509, allocations: 2.002 MB / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.01022, allocations: 0.5548 MB / 284.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.01144, allocations: 1.292 MB / 286.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007179/0.01216, allocations: 1.163 MB / 287.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.01292, allocations: 0.8838 MB / 288.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.01341, allocations: 0.7054 MB / 289 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.0138, allocations: 494.7 kB / 289.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/0.01389, allocations: 100 kB / 289.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.01433, allocations: 431.3 kB / 290 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.01446, allocations: 255 kB / 290.2 MB, free: 416 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.01469, allocations: 391 kB / 290.6 MB, free: 24 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1024/0.1171, allocations: 1.185 MB / 291.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1171, allocations: 4.406 kB / 291.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1171, allocations: 0 / 291.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.1172, allocations: 0 / 291.8 MB, free: 16.92 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003516/0.1207, allocations: 2.045 MB / 293.8 MB, free: 16.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1207, allocations: 9.969 kB / 293.9 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.1227, allocations: 0.7488 MB / 294.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1229, allocations: 244.3 kB / 294.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.1229, allocations: 99.02 kB / 294.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1231, allocations: 128.8 kB / 295.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1242, allocations: 0.9347 MB / 296 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.1243, allocations: 6.328 kB / 296 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.1243, allocations: 53.23 kB / 296.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.1244, allocations: 35.84 kB / 296.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.125, allocations: 431.2 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.1285, allocations: 2.649 MB / 299.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/0.1294, allocations: 0.8049 MB / 300 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1297, allocations: 218.1 kB / 300.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1298, allocations: 48.55 kB / 300.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1298, allocations: 46.7 kB / 300.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.1298, allocations: 1.062 kB / 300.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.001954/0.1318, allocations: 1.266 MB / 301.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1318, allocations: 93.64 kB / 301.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.132, allocations: 349.8 kB / 302 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.132, allocations: 44.42 kB / 302 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1322, allocations: 452.4 kB / 302.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1323, allocations: 434.6 kB / 302.9 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1325, allocations: 222 kB / 303.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.1326, allocations: 378.7 kB / 303.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1327, allocations: 137.8 kB / 303.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.133, allocations: 435.7 kB / 304 MB, free: 13.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.1335, allocations: 0.6444 MB / 304.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1335, allocations: 0 / 304.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.000662/0.1341, allocations: 0.7415 MB / 305.4 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1341, allocations: 8.438 kB / 305.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1341, allocations: 5.188 kB / 305.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.1346, allocations: 238.6 kB / 305.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.1351, allocations: 245.9 kB / 305.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.1365, allocations: 3.355 MB / 309.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.1368, allocations: 131.4 kB / 309.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.1369, allocations: 34.55 kB / 309.4 MB, free: 10.1 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.137, allocations: 191 kB / 309.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.1371, allocations: 76.72 kB / 309.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/0.1378, allocations: 0.6782 MB / 310.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1378, allocations: 13.19 kB / 310.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1378, allocations: 7.625 kB / 310.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1378, allocations: 7.641 kB / 310.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1391, allocations: 1.233 MB / 311.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1391, allocations: 4 kB / 311.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.1394, allocations: 174.3 kB / 311.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/0.1398, allocations: 207.3 kB / 312 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.1398, allocations: 27.92 kB / 312 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.141, allocations: 3.234 MB / 315.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.141, allocations: 4 kB / 315.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.1417, allocations: 0.8678 MB / 316.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1418, allocations: 99.3 kB / 316.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.1419, allocations: 24 kB / 316.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.142, allocations: 31.98 kB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.1421, allocations: 92.75 kB / 316.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1422, allocations: 28.03 kB / 316.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.1422, allocations: 129 kB / 316.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1422, allocations: 0 / 316.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006266/0.1429, allocations: 363.2 kB / 316.9 MB, free: 3.945 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.143, allocations: 168.1 kB / 317 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.1437, allocations: 0.899 MB / 317.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/0.1437, allocations: 4.5 kB / 317.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.1441, allocations: 0.6036 MB / 318.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1443, allocations: 70.02 kB / 318.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1461, allocations: 1.662 MB / 320.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.533e-05/0.1461, allocations: 195.7 kB / 320.5 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.1464, allocations: 130.4 kB / 320.6 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.1466, allocations: 163.3 kB / 320.8 MB, free: 76 kB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1466, allocations: 4 kB / 320.8 MB, free: 72 kB / 266.7 MB Notification: Performance of Templates: time 0.01313/0.1598, allocations: 10.69 MB / 331.5 MB, free: 5.598 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.880534450057894]