Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.001883/0.001883, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002055/0.002055, allocations: 165.4 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 250.4 MB, free: 7.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.61e-05, allocations: 6.312 kB / 250.4 MB, free: 7.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01571/0.01575, allocations: 10.67 MB / 261 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00867/0.02442, allocations: 3.207 MB / 264.2 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.02701, allocations: 43.81 kB / 264.3 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.02892, allocations: 0.6909 MB / 265 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.03283, allocations: 0.9384 MB / 265.9 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.03539, allocations: 0.9321 MB / 266.8 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005873/0.04126, allocations: 3.551 MB / 270.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.04254, allocations: 0.5629 MB / 271 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.04628, allocations: 1.969 MB / 272.9 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.04821, allocations: 1.219 MB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005676/0.04878, allocations: 352 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007092/0.04949, allocations: 379.9 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.05026, allocations: 0.7319 MB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.05179, allocations: 1.002 MB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005844/0.05763, allocations: 4.401 MB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.05764, allocations: 0 / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.05764, allocations: 4 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001229/0.05776, allocations: 0 / 281 MB, free: 9.145 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.008881/0.06665, allocations: 3.45 MB / 284.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.06669, allocations: 11.98 kB / 284.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.06757, allocations: 467 kB / 284.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.07057, allocations: 1.4 MB / 286.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.07074, allocations: 160.5 kB / 286.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.07109, allocations: 208.3 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.07546, allocations: 1.937 MB / 288.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.05e-05/0.07552, allocations: 7.922 kB / 288.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.07573, allocations: 88 kB / 288.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.07578, allocations: 48 kB / 288.8 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.07991, allocations: 1.812 MB / 290.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/0.09871, allocations: 8.255 MB / 298.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.1027, allocations: 2.051 MB / 300.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/0.1059, allocations: 1.314 MB / 302.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.1061, allocations: 46 kB / 302.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.593e-05/0.1061, allocations: 67.31 kB / 302.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=234): time 5.28e-06/0.1061, allocations: 0 / 302.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=351): time 0.06097/0.1671, allocations: 16.36 MB / 318.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.1672, allocations: 86.17 kB / 318.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.1706, allocations: 2.004 MB / 320.7 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000534/0.1711, allocations: 81.7 kB / 320.8 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.1724, allocations: 1.155 MB / 322 MB, free: 15.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/0.1745, allocations: 1.31 MB / 323.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.1758, allocations: 0.62 MB / 323.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.176, allocations: 476.8 kB / 324.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.1787, allocations: 1.178 MB / 325.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.1822, allocations: 1.673 MB / 327.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/0.1893, allocations: 3.247 MB / 330.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.1893, allocations: 0 / 330.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01185/0.2012, allocations: 4.55 MB / 335 MB, free: 2.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2012, allocations: 11.94 kB / 335 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.2012, allocations: 8 kB / 335 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.2119, allocations: 2.076 MB / 337.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.215, allocations: 0.511 MB / 337.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1492/0.3642, allocations: 23.92 MB / 361.6 MB, free: 93.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.3666, allocations: 90.89 kB / 361.6 MB, free: 93.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.3669, allocations: 106.9 kB / 361.7 MB, free: 93.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.3679, allocations: 0.5581 MB / 362.3 MB, free: 93.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/0.3684, allocations: 370.9 kB / 362.7 MB, free: 93.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/0.3773, allocations: 4.363 MB / 367 MB, free: 91.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.3774, allocations: 36.19 kB / 367.1 MB, free: 91.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3774, allocations: 5.031 kB / 367.1 MB, free: 91.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/0.3774, allocations: 16.17 kB / 367.1 MB, free: 91.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.3915, allocations: 7.993 MB / 375.1 MB, free: 85.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.3915, allocations: 7.594 kB / 375.1 MB, free: 85.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.3937, allocations: 443.4 kB / 375.5 MB, free: 84.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009177/0.4028, allocations: 1.998 MB / 377.5 MB, free: 83.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005317/0.4034, allocations: 63.98 kB / 377.6 MB, free: 82.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.4235, allocations: 22.53 MB / 400.1 MB, free: 59.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4235, allocations: 4 kB / 400.1 MB, free: 59.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.4348, allocations: 6.288 MB / 406.4 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/0.4362, allocations: 0.5449 MB / 406.9 MB, free: 52.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/0.4366, allocations: 64 kB / 407 MB, free: 52.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.4382, allocations: 95.95 kB / 407.1 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/0.4388, allocations: 270.5 kB / 407.4 MB, free: 52.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.439, allocations: 96.22 kB / 407.5 MB, free: 52.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001499/0.4405, allocations: 1.202 MB / 408.7 MB, free: 51.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4405, allocations: 0 / 408.7 MB, free: 51.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00258/0.4431, allocations: 0.8769 MB / 409.5 MB, free: 50.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002647/0.4457, allocations: 470 kB / 410 MB, free: 49.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006786/0.4525, allocations: 4.91 MB / 414.9 MB, free: 44.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.4525, allocations: 320 / 414.9 MB, free: 44.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.4569, allocations: 3.473 MB / 418.4 MB, free: 41.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.4593, allocations: 393.3 kB / 418.8 MB, free: 40.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009459/0.4688, allocations: 5.465 MB / 424.2 MB, free: 35.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/0.4697, allocations: 1.14 MB / 425.4 MB, free: 34.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.4712, allocations: 287.8 kB / 425.6 MB, free: 33.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.4718, allocations: 152.5 kB / 425.8 MB, free: 33.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.064e-06/0.4718, allocations: 0 / 425.8 MB, free: 33.6 MB / 330.7 MB Notification: Performance of Templates: time 0.08091/0.5527, allocations: 53.5 MB / 479.3 MB, free: 11.89 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.613679877948016]