Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001865/0.001866, allocations: 114.6 kB / 18.4 MB, free: 4.773 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.001727/0.001726, allocations: 190.7 kB / 21.34 MB, free: 1.844 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.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.34 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 47.92 kB / 358.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09499, allocations: 49.44 MB / 408.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02198/0.117, allocations: 19.43 MB / 427.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2048/0.3219, allocations: 5.963 MB / 433.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.3253, allocations: 157.2 kB / 433.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.3359, allocations: 5.849 MB / 439.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008233/0.3442, allocations: 3.333 MB / 442.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.3479, allocations: 1.575 MB / 444.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.3639, allocations: 12.36 MB / 456.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009998/0.3739, allocations: 7.654 MB / 464.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007666/0.3816, allocations: 3.555 MB / 468 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008141/0.3898, allocations: 4.737 MB / 472.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002454/0.3923, allocations: 0.7109 MB / 473.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.3971, allocations: 1.685 MB / 475.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005747/0.4028, allocations: 4.199 MB / 479.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008408/0.4113, allocations: 4.47 MB / 483.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/0.4298, allocations: 13.7 MB / 497.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4298, allocations: 0 / 497.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4298, allocations: 0 / 497.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004541/0.4303, allocations: 4 kB / 497.5 MB, free: 13.54 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02363/0.4539, allocations: 9.918 MB / 0.4955 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.454, allocations: 12.03 kB / 0.4955 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04728/0.5013, allocations: 5.288 MB / 0.5007 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.5203, allocations: 8.086 MB / 0.5086 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.5208, allocations: 424.7 kB / 0.509 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.5227, allocations: 0.5846 MB / 0.5096 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/0.5557, allocations: 16.57 MB / 0.5257 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/0.5561, allocations: 99.3 kB / 0.5258 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.5571, allocations: 266.5 kB / 0.5261 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004634/0.5617, allocations: 2.762 MB / 0.5288 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/0.5911, allocations: 13.63 MB / 0.5421 GB, free: 3.223 MB / 446.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.09788/0.689, allocations: 67.85 MB / 0.6084 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/0.7109, allocations: 7.905 MB / 0.6161 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00963/0.7206, allocations: 4.52 MB / 0.6205 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3923/1.113, allocations: 12.42 MB / 0.6326 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.113, allocations: 72.33 kB / 0.6327 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.38e-06/1.113, allocations: 0 / 0.6327 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1779/1.291, allocations: 50.54 MB / 0.682 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.291, allocations: 402 kB / 0.6824 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.302, allocations: 7.139 MB / 0.6894 GB, free: 133.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.303, allocations: 77.7 kB / 0.6895 GB, free: 133.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003243/1.306, allocations: 5.189 MB / 0.6945 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.308, allocations: 1.326 MB / 0.6958 GB, free: 127.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0046/1.313, allocations: 1.873 MB / 0.6977 GB, free: 126 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/1.313, allocations: 305.1 kB / 0.698 GB, free: 125.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.318, allocations: 4.551 MB / 0.7024 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007206/1.325, allocations: 9.254 MB / 0.7114 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/1.339, allocations: 14.54 MB / 0.7256 GB, free: 92.74 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/1.34, allocations: 48 kB / 0.7257 GB, free: 92.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03987/1.379, allocations: 19.79 MB / 0.745 GB, free: 72.86 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/1.38, allocations: 76.92 kB / 0.7451 GB, free: 72.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/1.38, allocations: 160 kB / 0.7452 GB, free: 72.63 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02023/1.4, allocations: 7.051 MB / 0.7521 GB, free: 65.56 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/1.406, allocations: 1.93 MB / 0.754 GB, free: 63.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04284/1.449, allocations: 35.33 MB / 0.7885 GB, free: 27.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00858/1.458, allocations: 0.5852 MB / 0.7891 GB, free: 27.29 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.46, allocations: 496 kB / 0.7896 GB, free: 26.81 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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 {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006632/1.466, allocations: 3.477 MB / 0.7929 GB, free: 23.32 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.468, allocations: 0.6752 MB / 0.7936 GB, free: 22.64 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02881/1.497, allocations: 13.31 MB / 0.8066 GB, free: 9.262 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.466e-05/1.497, allocations: 33.12 kB / 0.8066 GB, free: 9.23 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-05/1.497, allocations: 23.94 kB / 0.8067 GB, free: 9.207 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.04e-05/1.497, allocations: 19.94 kB / 0.8067 GB, free: 9.188 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2942/1.791, allocations: 26.57 MB / 0.8326 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-05/1.792, allocations: 5.969 kB / 0.8326 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/1.794, allocations: 428 kB / 0.833 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/1.813, allocations: 6.645 MB / 0.8395 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008084/1.814, allocations: 59.59 kB / 0.8396 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03992/1.854, allocations: 34.01 MB / 0.8728 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.854, allocations: 13.92 kB / 0.8728 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03254/1.887, allocations: 18.81 MB / 0.8912 GB, free: 110 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/1.889, allocations: 0.7203 MB / 0.8919 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/1.892, allocations: 65.11 kB / 0.8919 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004624/1.896, allocations: 304.8 kB / 0.8922 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/1.898, allocations: 245.2 kB / 0.8925 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/1.898, allocations: 94.34 kB / 0.8926 GB, free: 109 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006992/1.905, allocations: 4.559 MB / 0.897 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.252e-06/1.905, allocations: 0 / 0.897 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009747/1.915, allocations: 2.138 MB / 0.8991 GB, free: 102.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.0009543/1.916, allocations: 219.2 kB / 0.8993 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.933, allocations: 11.63 MB / 0.9107 GB, free: 90.56 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.933, allocations: 7.438 kB / 0.9107 GB, free: 90.56 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008204/1.941, allocations: 5.013 MB / 0.9156 GB, free: 85.54 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/1.948, allocations: 0.9895 MB / 0.9165 GB, free: 84.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/1.981, allocations: 20.39 MB / 0.9364 GB, free: 64.22 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006674/1.988, allocations: 5.455 MB / 0.9418 GB, free: 58.75 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.989, allocations: 446.2 kB / 0.9422 GB, free: 58.31 MB / 0.5138 GB Notification: Performance of SimCode: time 7.92e-07/1.989, allocations: 3.625 kB / 0.9422 GB, free: 58.31 MB / 0.5138 GB Notification: Performance of Templates: time 0.4223/2.412, allocations: 207.5 MB / 1.145 GB, free: 42.57 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 22.42556676303502]