Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001671/0.001671, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001962/0.001962, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 51.91 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09882, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2153/0.3141, allocations: 19.44 MB / 446.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.3291, allocations: 6.002 MB / 452.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00549/0.3346, allocations: 192.9 kB / 452.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.3481, allocations: 5.914 MB / 458.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.3603, allocations: 3.393 MB / 461.8 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.3652, allocations: 1.569 MB / 463.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02248/0.3877, allocations: 12.67 MB / 476 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.3978, allocations: 6.418 MB / 482.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008694/0.4065, allocations: 3.626 MB / 486 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009328/0.4158, allocations: 5.118 MB / 491.2 MB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002687/0.4185, allocations: 0.7111 MB / 491.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.4234, allocations: 1.705 MB / 493.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006419/0.4299, allocations: 4.309 MB / 497.9 MB, free: 9.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00898/0.4388, allocations: 4.452 MB / 0.4906 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02159/0.4604, allocations: 13.65 MB / 0.5039 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4604, allocations: 0 / 0.5039 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4604, allocations: 0 / 0.5039 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005454/0.461, allocations: 0 / 0.5039 GB, free: 7.082 MB / 414.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.02972/0.4907, allocations: 9.895 MB / 0.5136 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4908, allocations: 15.97 kB / 0.5136 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0504/0.5412, allocations: 5.297 MB / 0.5187 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02398/0.5651, allocations: 7.921 MB / 0.5265 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005976/0.5657, allocations: 423.6 kB / 0.5269 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/0.5688, allocations: 0.5971 MB / 0.5275 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03723/0.606, allocations: 16.55 MB / 0.5436 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003852/0.6064, allocations: 99.3 kB / 0.5437 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008952/0.6073, allocations: 271.7 kB / 0.544 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005063/0.6124, allocations: 2.767 MB / 0.5467 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03216/0.6445, allocations: 13.62 MB / 0.56 GB, free: 12.39 MB / 478.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.4738/1.118, allocations: 67.84 MB / 0.6262 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/1.139, allocations: 7.657 MB / 0.6337 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005266/1.144, allocations: 4.238 MB / 0.6379 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.161, allocations: 12.42 MB / 0.65 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/1.161, allocations: 67.78 kB / 0.6501 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 4.969e-06/1.161, allocations: 1.375 kB / 0.6501 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1756/1.337, allocations: 50.47 MB / 0.6993 GB, free: 79.29 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.337, allocations: 398.1 kB / 0.6997 GB, free: 78.82 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008551/1.346, allocations: 7.128 MB / 0.7067 GB, free: 71.81 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/1.346, allocations: 77.7 kB / 0.7068 GB, free: 71.73 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/1.349, allocations: 5.188 MB / 0.7118 GB, free: 67.05 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/1.35, allocations: 1.318 MB / 0.7131 GB, free: 65.75 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/1.352, allocations: 1.876 MB / 0.7149 GB, free: 63.87 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.325e-05/1.352, allocations: 301.1 kB / 0.7152 GB, free: 63.57 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005038/1.357, allocations: 4.551 MB / 0.7197 GB, free: 59.01 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006535/1.364, allocations: 9.264 MB / 0.7287 GB, free: 47.54 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.377, allocations: 14.54 MB / 0.7429 GB, free: 30.97 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.378, allocations: 44 kB / 0.743 GB, free: 30.93 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.0385/1.416, allocations: 19.71 MB / 0.7622 GB, free: 11.17 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/1.416, allocations: 72.97 kB / 0.7623 GB, free: 11.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.416, allocations: 163.9 kB / 0.7624 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/1.437, allocations: 7.059 MB / 0.7693 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006123/1.443, allocations: 1.922 MB / 0.7712 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0617/1.504, allocations: 35.33 MB / 0.8057 GB, free: 14.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00775/1.512, allocations: 0.5813 MB / 0.8063 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/1.513, allocations: 496 kB / 0.8067 GB, free: 13.12 MB / 0.5607 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.006124/1.519, allocations: 3.476 MB / 0.8101 GB, free: 9.645 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.521, allocations: 0.6752 MB / 0.8108 GB, free: 8.965 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03348/1.554, allocations: 13.24 MB / 0.8237 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-05/1.554, allocations: 36.06 kB / 0.8238 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/1.555, allocations: 27.94 kB / 0.8238 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/1.555, allocations: 19.88 kB / 0.8238 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2782/1.833, allocations: 26.49 MB / 0.8497 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-05/1.833, allocations: 6.688 kB / 0.8497 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.835, allocations: 418.6 kB / 0.8501 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0212/1.856, allocations: 6.65 MB / 0.8566 GB, free: 197.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007526/1.857, allocations: 56.31 kB / 0.8566 GB, free: 197.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04116/1.898, allocations: 34.02 MB / 0.8899 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.898, allocations: 7.875 kB / 0.8899 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03213/1.93, allocations: 18.73 MB / 0.9082 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.932, allocations: 0.7203 MB / 0.9089 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/1.934, allocations: 63.98 kB / 0.9089 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/1.938, allocations: 308.2 kB / 0.9092 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009603/1.939, allocations: 238.6 kB / 0.9094 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/1.939, allocations: 91.28 kB / 0.9095 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005903/1.945, allocations: 4.555 MB / 0.914 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.945, allocations: 0 / 0.914 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008769/1.954, allocations: 2.123 MB / 0.916 GB, free: 158.5 MB / 0.5763 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.0007583/1.954, allocations: 211 kB / 0.9162 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.971, allocations: 11.11 MB / 0.9271 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.971, allocations: 0 / 0.9271 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007706/1.979, allocations: 4.657 MB / 0.9316 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/1.984, allocations: 0.9911 MB / 0.9326 GB, free: 141.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/2.015, allocations: 19.8 MB / 0.952 GB, free: 121.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006462/2.021, allocations: 5.525 MB / 0.9573 GB, free: 116.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005679/2.027, allocations: 2.602 MB / 0.9599 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/2.028, allocations: 391.4 kB / 0.9603 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.022e-06/2.028, allocations: 0 / 0.9603 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.3633/2.392, allocations: 95 MB / 1.053 GB, free: 192.5 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.368050087243319]