Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001129/0.001129, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.004344/0.004344, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9729/0.9729, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.457e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1364/0.1364, allocations: 21.81 MB / 295.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1474, allocations: 6.938 MB / 302.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/0.1503, allocations: 216.1 kB / 302.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007172/0.1575, allocations: 8.39 MB / 310.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.1629, allocations: 3.796 MB / 314.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.1655, allocations: 2.3 MB / 316.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.1765, allocations: 15.73 MB / 332.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008743/0.1852, allocations: 9.766 MB / 342.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009394/0.1946, allocations: 9.577 MB / 352 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/0.2001, allocations: 6.704 MB / 358.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000948/0.2011, allocations: 1.039 MB / 359.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.2035, allocations: 2.127 MB / 361.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002984/0.2064, allocations: 5.487 MB / 367.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.2088, allocations: 3.464 MB / 370.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.2161, allocations: 10.68 MB / 381.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2161, allocations: 0 / 381.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2161, allocations: 0 / 381.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.612e-05/0.2162, allocations: 0 / 381.5 MB, free: 4.887 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.01423/0.2304, allocations: 11.47 MB / 392.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2304, allocations: 16.03 kB / 392.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02511/0.2555, allocations: 5.279 MB / 398.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009054/0.2646, allocations: 6.156 MB / 404.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/0.2651, allocations: 0.5218 MB / 404.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007837/0.2659, allocations: 0.7306 MB / 405.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.2781, allocations: 10.6 MB / 416.2 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.2783, allocations: 91.27 kB / 416.3 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/0.2788, allocations: 323.9 kB / 416.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/0.281, allocations: 2.618 MB / 419.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008198/0.2892, allocations: 4.73 MB / 424 MB, free: 8.594 MB / 378.7 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.2618/0.551, allocations: 73.37 MB / 497.4 MB, free: 56.66 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/0.5584, allocations: 3.771 MB / 0.4894 GB, free: 55.29 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5594, allocations: 1.08 MB / 0.4904 GB, free: 55.02 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00958/0.569, allocations: 9.114 MB / 0.4993 GB, free: 47.88 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5691, allocations: 70.58 kB / 0.4994 GB, free: 47.8 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 4.238e-06/0.5691, allocations: 0 / 0.4994 GB, free: 47.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.07391/0.643, allocations: 29.59 MB / 0.5283 GB, free: 19.05 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.643, allocations: 410.1 kB / 0.5287 GB, free: 18.56 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005641/0.6487, allocations: 6.404 MB / 0.535 GB, free: 12.59 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.6489, allocations: 89.69 kB / 0.535 GB, free: 12.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.6514, allocations: 6.14 MB / 0.541 GB, free: 6.918 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009072/0.6523, allocations: 1.589 MB / 0.5426 GB, free: 5.316 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/0.6545, allocations: 2.173 MB / 0.5447 GB, free: 3.129 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.326e-05/0.6546, allocations: 476.8 kB / 0.5452 GB, free: 2.66 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.6568, allocations: 1.347 MB / 0.5465 GB, free: 1.309 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006819/0.6637, allocations: 9.013 MB / 0.5553 GB, free: 5.008 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.6738, allocations: 10.87 MB / 0.5659 GB, free: 6.969 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.661e-05/0.6739, allocations: 48 kB / 0.5659 GB, free: 6.922 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.1562/0.8301, allocations: 9.326 MB / 0.575 GB, free: 122.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.8302, allocations: 78.41 kB / 0.5751 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/0.8304, allocations: 169.6 kB / 0.5753 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/0.8368, allocations: 2.138 MB / 0.5774 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/0.8417, allocations: 2.111 MB / 0.5794 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.852, allocations: 7.794 MB / 0.587 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/0.8569, allocations: 399 kB / 0.5874 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005456/0.8575, allocations: 455.1 kB / 0.5879 GB, free: 120 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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],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 (1193): * Single equations (assignments): 1188 * 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 {(1,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002431/0.8599, allocations: 0.9243 MB / 0.5888 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/0.8611, allocations: 0.7963 MB / 0.5895 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/0.8683, allocations: 4.22 MB / 0.5937 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.8683, allocations: 42.03 kB / 0.5937 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.8684, allocations: 20.84 kB / 0.5937 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.8684, allocations: 19.08 kB / 0.5937 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.8884, allocations: 14.13 MB / 0.6075 GB, free: 114.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.8884, allocations: 19.83 kB / 0.6076 GB, free: 114.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.8899, allocations: 0.5546 MB / 0.6081 GB, free: 113.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/0.8952, allocations: 1.884 MB / 0.6099 GB, free: 112 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/0.8954, allocations: 83.98 kB / 0.61 GB, free: 111.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008895/0.9043, allocations: 6.999 MB / 0.6169 GB, free: 105.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.9043, allocations: 19.94 kB / 0.6169 GB, free: 105 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.9179, allocations: 6.166 MB / 0.6229 GB, free: 98.58 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.9197, allocations: 0.7017 MB / 0.6236 GB, free: 97.88 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/0.9202, allocations: 81.95 kB / 0.6237 GB, free: 97.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.9219, allocations: 95.97 kB / 0.6237 GB, free: 97.71 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/0.9224, allocations: 314.1 kB / 0.624 GB, free: 97.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.9226, allocations: 91.98 kB / 0.6241 GB, free: 97.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002583/0.9251, allocations: 2.779 MB / 0.6268 GB, free: 94.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9251, allocations: 0 / 0.6268 GB, free: 94.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00625/0.9314, allocations: 2.565 MB / 0.6294 GB, free: 92.28 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (317): * Single equations (assignments): 313 * 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 {(1,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/0.9319, allocations: 306.8 kB / 0.6296 GB, free: 91.99 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005748/0.9377, allocations: 5.381 MB / 0.6349 GB, free: 86.72 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9377, allocations: 7.719 kB / 0.6349 GB, free: 86.72 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.9397, allocations: 1.865 MB / 0.6367 GB, free: 84.87 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.9426, allocations: 1.05 MB / 0.6378 GB, free: 83.86 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.9629, allocations: 16.9 MB / 0.6543 GB, free: 66.66 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.9658, allocations: 2.728 MB / 0.6569 GB, free: 63.91 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003486/0.9693, allocations: 0.905 MB / 0.6578 GB, free: 63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/0.9713, allocations: 1.209 MB / 0.659 GB, free: 61.79 MB / 410.8 MB Notification: Performance of SimCode: time 2.555e-06/0.9713, allocations: 0 / 0.659 GB, free: 61.79 MB / 410.8 MB Notification: Performance of Templates: time 0.2336/1.205, allocations: 103.1 MB / 0.7597 GB, free: 120.2 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.472533974796534]