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.00132/0.00132, allocations: 74.03 kB / 21.24 MB, free: 0.5547 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.001464/0.001464, allocations: 152.5 kB / 24.49 MB, free: 3.727 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.392/1.392, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.002291/0.002291, allocations: 54.33 kB / 319.5 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02249/0.1465, allocations: 17.71 MB / 389.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1613, allocations: 6 MB / 395.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.1654, allocations: 202.8 kB / 395.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01336/0.1788, allocations: 6.192 MB / 401.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009313/0.1881, allocations: 3.56 MB / 405.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.1921, allocations: 1.662 MB / 406.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.2108, allocations: 12.69 MB / 419.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009949/0.2208, allocations: 6.271 MB / 425.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007358/0.2281, allocations: 3.817 MB / 429.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009221/0.2374, allocations: 5.062 MB / 434.8 MB, free: 7.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002997/0.2404, allocations: 0.7461 MB / 435.5 MB, free: 7.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.2455, allocations: 1.616 MB / 437.1 MB, free: 5.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006687/0.2522, allocations: 4.519 MB / 441.7 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007106/0.2593, allocations: 3.567 MB / 445.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.2778, allocations: 14.31 MB / 459.5 MB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.2778, allocations: 0 / 459.5 MB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2778, allocations: 0 / 459.5 MB, free: 15.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004988/0.2783, allocations: 0 / 459.5 MB, free: 15.04 MB / 430.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.0242/0.3025, allocations: 10.23 MB / 469.8 MB, free: 4.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3026, allocations: 16.86 kB / 469.8 MB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3732/0.6758, allocations: 5.557 MB / 475.3 MB, free: 84.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/0.696, allocations: 8.193 MB / 483.5 MB, free: 82.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.6964, allocations: 451.1 kB / 484 MB, free: 82.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.6986, allocations: 0.6096 MB / 484.6 MB, free: 82.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.7249, allocations: 17.46 MB / 0.4903 GB, free: 69.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/0.7252, allocations: 99.3 kB / 0.4904 GB, free: 69.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007334/0.7259, allocations: 283.9 kB / 0.4906 GB, free: 69.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.7295, allocations: 2.853 MB / 0.4934 GB, free: 66.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/0.7537, allocations: 14.02 MB / 0.5071 GB, free: 52.21 MB / 430.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.0758/0.8295, allocations: 63.41 MB / 0.569 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/0.852, allocations: 7.813 MB / 0.5767 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006718/0.8587, allocations: 4.372 MB / 0.5809 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/0.8812, allocations: 11.09 MB / 0.5918 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.8813, allocations: 76.38 kB / 0.5918 GB, free: 12.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=294): time 6.382e-06/0.8813, allocations: 0 / 0.5918 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=360): time 0.2106/1.092, allocations: 54.82 MB / 0.6454 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002556/1.092, allocations: 402.2 kB / 0.6458 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.103, allocations: 6.952 MB / 0.6525 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008312/1.104, allocations: 80.14 kB / 0.6526 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004326/1.108, allocations: 5.423 MB / 0.6579 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.11, allocations: 1.391 MB / 0.6593 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.113, allocations: 1.928 MB / 0.6612 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.113, allocations: 301.1 kB / 0.6614 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007169/1.12, allocations: 4.715 MB / 0.6661 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2054/1.325, allocations: 9.764 MB / 0.6756 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/1.342, allocations: 15.01 MB / 0.6902 GB, free: 161 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002545/1.342, allocations: 48.91 kB / 0.6903 GB, free: 161 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04203/1.384, allocations: 20.37 MB / 0.7102 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/1.385, allocations: 72 kB / 0.7102 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003525/1.385, allocations: 164 kB / 0.7104 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02158/1.407, allocations: 7.305 MB / 0.7175 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006628/1.413, allocations: 2 MB / 0.7195 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04285/1.456, allocations: 35.8 MB / 0.7545 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008997/1.465, allocations: 0.6162 MB / 0.7551 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/1.467, allocations: 0.4951 MB / 0.7555 GB, free: 108 MB / 0.5294 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.006701/1.474, allocations: 3.595 MB / 0.7591 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/1.476, allocations: 0.6414 MB / 0.7597 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/1.504, allocations: 13.81 MB / 0.7732 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.504, allocations: 36 kB / 0.7732 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.504, allocations: 31.94 kB / 0.7732 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/1.504, allocations: 19.88 kB / 0.7732 GB, free: 90.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04536/1.55, allocations: 25.23 MB / 0.7979 GB, free: 64.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-05/1.55, allocations: 15.83 kB / 0.7979 GB, free: 64.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.552, allocations: 463.4 kB / 0.7983 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02012/1.572, allocations: 6.952 MB / 0.8051 GB, free: 57.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008132/1.573, allocations: 64 kB / 0.8052 GB, free: 57.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04089/1.614, allocations: 34.63 MB / 0.839 GB, free: 22.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/1.614, allocations: 12.81 kB / 0.839 GB, free: 22.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03292/1.647, allocations: 19.6 MB / 0.8582 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003811/1.65, allocations: 1.331 MB / 0.8595 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/1.652, allocations: 60 kB / 0.8595 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/1.656, allocations: 319.5 kB / 0.8598 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008894/1.657, allocations: 270.6 kB / 0.8601 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003344/1.657, allocations: 103.8 kB / 0.8602 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007371/1.664, allocations: 4.225 MB / 0.8643 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.664, allocations: 0 / 0.8643 GB, free: 12.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.202/1.866, allocations: 2.212 MB / 0.8665 GB, free: 178.2 MB / 0.545 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.0009263/1.867, allocations: 211.3 kB / 0.8667 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.885, allocations: 11.5 MB / 0.8779 GB, free: 177.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.885, allocations: 10.39 kB / 0.8779 GB, free: 177.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007719/1.893, allocations: 4.92 MB / 0.8827 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004822/1.898, allocations: 0.9199 MB / 0.8836 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.928, allocations: 20.72 MB / 0.9039 GB, free: 165.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005673/1.933, allocations: 5.259 MB / 0.909 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005336/1.939, allocations: 2.647 MB / 0.9116 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009946/1.94, allocations: 378.3 kB / 0.9119 GB, free: 159.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/1.94, allocations: 0 / 0.9119 GB, free: 159.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1269/2.066, allocations: 94.91 MB / 1.005 GB, free: 67.61 MB / 0.545 GB " [Timeout remaining time 658] 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.034606573055498]