Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.001437/0.001437, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001501/0.001501, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.369/1.369, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.394e-05, allocations: 6.219 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02461/0.02463, allocations: 20.25 MB / 319.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1866/0.2113, allocations: 6.839 MB / 326.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005106/0.2164, allocations: 214.8 kB / 326.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01607/0.2324, allocations: 8.147 MB / 334.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.243, allocations: 3.841 MB / 338.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.2482, allocations: 2.272 MB / 340.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01789/0.2661, allocations: 14.17 MB / 354.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.2819, allocations: 9.496 MB / 364.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02038/0.3023, allocations: 6.654 MB / 370.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.315, allocations: 6.516 MB / 377.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003997/0.319, allocations: 1.035 MB / 378.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007186/0.3262, allocations: 2.14 MB / 380.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009354/0.3355, allocations: 5.472 MB / 386 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.3459, allocations: 3.474 MB / 389.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02794/0.3738, allocations: 17.81 MB / 407.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3738, allocations: 4 kB / 407.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3738, allocations: 0 / 407.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007317/0.3745, allocations: 0 / 407.3 MB, free: 1.258 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.04156/0.4161, allocations: 11.68 MB / 419 MB, free: 5.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.4162, allocations: 15.98 kB / 419 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/0.4675, allocations: 5.71 MB / 424.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02696/0.4945, allocations: 9.093 MB / 433.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00093/0.4954, allocations: 0.5257 MB / 434.3 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005091/0.5005, allocations: 0.7228 MB / 435.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05168/0.5522, allocations: 19.87 MB / 454.9 MB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005154/0.5527, allocations: 95.36 kB / 455 MB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002901/0.5556, allocations: 327.8 kB / 455.3 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00547/0.5611, allocations: 2.813 MB / 458.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04118/0.6023, allocations: 16.25 MB / 474.4 MB, free: 12.78 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.4159/1.018, allocations: 68.43 MB / 0.5301 GB, free: 87.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/1.04, allocations: 8.064 MB / 0.538 GB, free: 83.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005556/1.046, allocations: 4.496 MB / 0.5424 GB, free: 80.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02223/1.068, allocations: 12.72 MB / 0.5548 GB, free: 68.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.068, allocations: 68.66 kB / 0.5549 GB, free: 67.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=319): time 7.434e-06/1.068, allocations: 0 / 0.5549 GB, free: 67.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=419): time 0.1669/1.235, allocations: 52.5 MB / 0.6061 GB, free: 16.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.235, allocations: 410.6 kB / 0.6065 GB, free: 15.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.246, allocations: 8.136 MB / 0.6145 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.247, allocations: 89.7 kB / 0.6145 GB, free: 7.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.25, allocations: 5.822 MB / 0.6202 GB, free: 2.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.252, allocations: 1.582 MB / 0.6218 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003503/1.255, allocations: 2.064 MB / 0.6238 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/1.256, allocations: 304.9 kB / 0.6241 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008496/1.264, allocations: 5.119 MB / 0.6291 GB, free: 9.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/1.278, allocations: 10.41 MB / 0.6393 GB, free: 12.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2247/1.502, allocations: 16.12 MB / 0.655 GB, free: 144.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002442/1.503, allocations: 48.97 kB / 0.655 GB, free: 144.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.04772/1.55, allocations: 20.75 MB / 0.6753 GB, free: 138.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.55, allocations: 79.34 kB / 0.6754 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.551, allocations: 171.2 kB / 0.6755 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01939/1.57, allocations: 6.451 MB / 0.6818 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007502/1.577, allocations: 2.152 MB / 0.6839 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04214/1.62, allocations: 33.07 MB / 0.7162 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/1.631, allocations: 0.7542 MB / 0.717 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/1.633, allocations: 0.5351 MB / 0.7175 GB, free: 105 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1178): * Single equations (assignments): 1173 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007943/1.641, allocations: 4.098 MB / 0.7215 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002423/1.643, allocations: 0.6902 MB / 0.7222 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02539/1.668, allocations: 13.72 MB / 0.7356 GB, free: 86.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.741e-05/1.668, allocations: 43.94 kB / 0.7356 GB, free: 86.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.94e-05/1.668, allocations: 24 kB / 0.7356 GB, free: 86.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.203e-05/1.669, allocations: 20.58 kB / 0.7357 GB, free: 86.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05251/1.721, allocations: 24.5 MB / 0.7596 GB, free: 62.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-05/1.721, allocations: 8 kB / 0.7596 GB, free: 62.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.724, allocations: 0.5499 MB / 0.7601 GB, free: 61.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01795/1.742, allocations: 5.946 MB / 0.7659 GB, free: 55.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/1.743, allocations: 75.94 kB / 0.766 GB, free: 55.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04155/1.785, allocations: 29.8 MB / 0.7951 GB, free: 26.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.785, allocations: 11.94 kB / 0.7951 GB, free: 26.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03364/1.818, allocations: 19.89 MB / 0.8145 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004794/1.823, allocations: 1.585 MB / 0.8161 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002726/1.826, allocations: 76 kB / 0.8162 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006386/1.832, allocations: 445.5 kB / 0.8166 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001764/1.834, allocations: 314.9 kB / 0.8169 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007432/1.835, allocations: 108 kB / 0.817 GB, free: 3.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2066/2.041, allocations: 5.069 MB / 0.8219 GB, free: 141.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/2.041, allocations: 0 / 0.8219 GB, free: 141.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01192/2.053, allocations: 2.729 MB / 0.8246 GB, free: 141.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (292): * Single equations (assignments): 288 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/2.055, allocations: 308.8 kB / 0.8249 GB, free: 141.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01924/2.074, allocations: 11.8 MB / 0.8364 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.613e-05/2.074, allocations: 3.938 kB / 0.8364 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007299/2.081, allocations: 4.676 MB / 0.841 GB, free: 136.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007254/2.089, allocations: 1 MB / 0.842 GB, free: 136.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/2.132, allocations: 22.85 MB / 0.8643 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.143, allocations: 5.94 MB / 0.8701 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007142/2.15, allocations: 2.937 MB / 0.873 GB, free: 115.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/2.152, allocations: 439.6 kB / 0.8734 GB, free: 115.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/2.152, allocations: 0 / 0.8734 GB, free: 115.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1563/2.308, allocations: 107.8 MB / 0.9787 GB, free: 8.02 MB / 462.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 10.004567325115204]