Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 115.4 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 192.3 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 247.1 MB, free: 4.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.92 kB / 358.7 MB, free: 8.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09731, allocations: 49.44 MB / 408.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02322/0.1206, allocations: 20.52 MB / 428.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2029/0.3235, allocations: 6.172 MB / 434.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.3272, allocations: 166.3 kB / 435 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.3384, allocations: 6.362 MB / 441.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009048/0.3476, allocations: 3.424 MB / 444.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.3515, allocations: 1.662 MB / 446.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01844/0.3699, allocations: 12.66 MB / 459.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.3828, allocations: 8.058 MB / 467.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007395/0.3902, allocations: 3.752 MB / 470.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00827/0.3985, allocations: 4.951 MB / 475.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002758/0.4013, allocations: 0.7461 MB / 476.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005592/0.4069, allocations: 1.719 MB / 478.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006625/0.4136, allocations: 4.359 MB / 482.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009204/0.4228, allocations: 4.663 MB / 487.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.4435, allocations: 14.22 MB / 0.4898 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4435, allocations: 0 / 0.4898 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4435, allocations: 4 kB / 0.4898 GB, free: 9.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004423/0.444, allocations: 4 kB / 0.4898 GB, free: 9.754 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.02716/0.4711, allocations: 10.29 MB / 0.4999 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4712, allocations: 8.031 kB / 0.4999 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/0.5207, allocations: 5.338 MB / 0.5051 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02069/0.5415, allocations: 8.275 MB / 0.5132 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.542, allocations: 450.3 kB / 0.5136 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/0.5451, allocations: 0.6165 MB / 0.5142 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03731/0.5825, allocations: 17.13 MB / 0.5309 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/0.5829, allocations: 95.36 kB / 0.531 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/0.5848, allocations: 280.7 kB / 0.5313 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005357/0.5901, allocations: 2.868 MB / 0.5341 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/0.6215, allocations: 14.04 MB / 0.5478 GB, free: 13.71 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.493/1.115, allocations: 69.78 MB / 0.616 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/1.137, allocations: 8.233 MB / 0.624 GB, free: 113 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00602/1.143, allocations: 4.634 MB / 0.6285 GB, free: 113 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/1.162, allocations: 12.8 MB / 0.641 GB, free: 109.1 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/1.162, allocations: 67.02 kB / 0.6411 GB, free: 109 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=294): time 5.881e-06/1.162, allocations: 0 / 0.6411 GB, free: 109 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.1852/1.348, allocations: 52.93 MB / 0.6928 GB, free: 72.25 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.348, allocations: 397.9 kB / 0.6932 GB, free: 71.78 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/1.356, allocations: 7.286 MB / 0.7003 GB, free: 64.62 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008873/1.357, allocations: 81.7 kB / 0.7004 GB, free: 64.54 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/1.359, allocations: 5.383 MB / 0.7056 GB, free: 59.69 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.361, allocations: 1.397 MB / 0.707 GB, free: 58.31 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/1.363, allocations: 1.931 MB / 0.7089 GB, free: 56.37 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.249e-05/1.363, allocations: 305.1 kB / 0.7092 GB, free: 56.07 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005308/1.369, allocations: 4.715 MB / 0.7138 GB, free: 51.34 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007282/1.376, allocations: 9.542 MB / 0.7231 GB, free: 39.54 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/1.391, allocations: 15.01 MB / 0.7377 GB, free: 22.46 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.391, allocations: 48 kB / 0.7378 GB, free: 22.41 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04018/1.431, allocations: 20.5 MB / 0.7578 GB, free: 1.867 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/1.431, allocations: 77.03 kB / 0.7579 GB, free: 1.793 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.431, allocations: 164 kB / 0.758 GB, free: 1.633 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/1.454, allocations: 7.308 MB / 0.7652 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007118/1.462, allocations: 2 MB / 0.7671 GB, free: 8.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05898/1.521, allocations: 36.57 MB / 0.8028 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008357/1.529, allocations: 0.6047 MB / 0.8034 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.531, allocations: 0.4961 MB / 0.8039 GB, free: 2.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1082): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.007709/1.539, allocations: 3.594 MB / 0.8074 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/1.541, allocations: 0.6907 MB / 0.8081 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2615/1.802, allocations: 13.95 MB / 0.8217 GB, free: 194.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-05/1.802, allocations: 38.78 kB / 0.8217 GB, free: 194.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-05/1.802, allocations: 17.84 kB / 0.8218 GB, free: 194.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.989e-05/1.802, allocations: 16.86 kB / 0.8218 GB, free: 194.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05519/1.858, allocations: 27.71 MB / 0.8488 GB, free: 189 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-05/1.858, allocations: 5.5 kB / 0.8488 GB, free: 189 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.86, allocations: 466.4 kB / 0.8493 GB, free: 189 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0205/1.88, allocations: 6.965 MB / 0.8561 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/1.881, allocations: 69.84 kB / 0.8562 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04161/1.923, allocations: 35.36 MB / 0.8907 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.923, allocations: 8.734 kB / 0.8907 GB, free: 167.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/1.958, allocations: 19.74 MB / 0.91 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003976/1.962, allocations: 1.47 MB / 0.9114 GB, free: 147 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/1.964, allocations: 63.98 kB / 0.9115 GB, free: 147 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004783/1.968, allocations: 319.5 kB / 0.9118 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.97, allocations: 254.7 kB / 0.912 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003684/1.97, allocations: 101.8 kB / 0.9121 GB, free: 146.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007469/1.977, allocations: 4.65 MB / 0.9167 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.82e-07/1.978, allocations: 3.938 kB / 0.9167 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009352/1.987, allocations: 2.226 MB / 0.9188 GB, free: 139.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 2 (inertia.phi,inertia.w) * 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 (232): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,90,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/1.988, allocations: 212.2 kB / 0.919 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01793/2.006, allocations: 12.05 MB / 0.9308 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/2.006, allocations: 0 / 0.9308 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009456/2.015, allocations: 5.296 MB / 0.936 GB, free: 122 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0085/2.024, allocations: 1.032 MB / 0.937 GB, free: 121 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/2.06, allocations: 21.19 MB / 0.9577 GB, free: 99.84 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007766/2.068, allocations: 5.66 MB / 0.9632 GB, free: 94.18 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/2.07, allocations: 458.5 kB / 0.9636 GB, free: 93.73 MB / 0.5607 GB Notification: Performance of SimCode: time 9.52e-07/2.07, allocations: 0 / 0.9636 GB, free: 93.73 MB / 0.5607 GB Notification: Performance of Templates: time 0.5088/2.579, allocations: 215.5 MB / 1.174 GB, free: 69.51 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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: 23.584115267032757]