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.001589/0.001589, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001929/0.001929, allocations: 210 kB / 23.73 MB, free: 4.387 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.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 0.00163/0.00163, allocations: 43.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2712, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02512/0.2963, allocations: 20.09 MB / 451.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.313, allocations: 6.834 MB / 458.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.3172, allocations: 222.8 kB / 458.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.3333, allocations: 7.684 MB / 466.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3436, allocations: 3.676 MB / 470.1 MB, free: 84 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.3486, allocations: 2.016 MB / 472.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.3694, allocations: 13.6 MB / 485.7 MB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.3827, allocations: 7.906 MB / 493.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00872/0.3914, allocations: 4.332 MB / 498 MB, free: 4.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.4017, allocations: 5.713 MB / 0.4919 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.405, allocations: 1.004 MB / 0.4929 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.4108, allocations: 2.041 MB / 0.4948 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007773/0.4186, allocations: 5.155 MB / 0.4999 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01101/0.4296, allocations: 4.151 MB / 0.5039 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02461/0.4542, allocations: 17.34 MB / 0.5209 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4542, allocations: 0 / 0.5209 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4542, allocations: 0 / 0.5209 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000523/0.4547, allocations: 0 / 0.5209 GB, free: 0.5742 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.03278/0.4875, allocations: 11.39 MB / 0.532 GB, free: 5.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4876, allocations: 8.031 kB / 0.532 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4466/0.9342, allocations: 5.476 MB / 0.5373 GB, free: 93.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/0.9582, allocations: 8.824 MB / 0.546 GB, free: 91.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/0.9586, allocations: 0.5216 MB / 0.5465 GB, free: 90.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003042/0.9617, allocations: 0.7249 MB / 0.5472 GB, free: 90.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/0.9958, allocations: 19.84 MB / 0.5666 GB, free: 72.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004445/0.9962, allocations: 95.3 kB / 0.5666 GB, free: 72.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/0.9984, allocations: 324.8 kB / 0.567 GB, free: 72.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003904/1.002, allocations: 2.819 MB / 0.5697 GB, free: 69.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/1.035, allocations: 16.22 MB / 0.5856 GB, free: 53.23 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.1046/1.14, allocations: 66.85 MB / 0.6508 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02494/1.165, allocations: 7.738 MB / 0.6584 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007757/1.173, allocations: 4.501 MB / 0.6628 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02985/1.203, allocations: 12.23 MB / 0.6747 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.818e-05/1.203, allocations: 72.59 kB / 0.6748 GB, free: 8.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=320): time 7.884e-06/1.203, allocations: 0 / 0.6748 GB, free: 8.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=426): time 0.1969/1.4, allocations: 52.44 MB / 0.726 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/1.4, allocations: 406.8 kB / 0.7264 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/1.415, allocations: 7.316 MB / 0.7335 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001349/1.416, allocations: 93.7 kB / 0.7336 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005901/1.422, allocations: 5.8 MB / 0.7393 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002779/1.425, allocations: 1.62 MB / 0.7409 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00566/1.431, allocations: 2.091 MB / 0.7429 GB, free: 3.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.431, allocations: 313.1 kB / 0.7432 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2617/1.693, allocations: 5.208 MB / 0.7483 GB, free: 184.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.704, allocations: 10.49 MB / 0.7585 GB, free: 176.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01963/1.723, allocations: 16.28 MB / 0.7744 GB, free: 165.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000147/1.724, allocations: 46.44 kB / 0.7745 GB, free: 165.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03937/1.763, allocations: 21.13 MB / 0.7951 GB, free: 152.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.763, allocations: 83.84 kB / 0.7952 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/1.763, allocations: 172 kB / 0.7954 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01875/1.782, allocations: 6.651 MB / 0.8019 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00685/1.789, allocations: 2.145 MB / 0.804 GB, free: 145.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04169/1.831, allocations: 34.45 MB / 0.8376 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009194/1.84, allocations: 0.6261 MB / 0.8382 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/1.842, allocations: 0.5312 MB / 0.8387 GB, free: 109.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * 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 (1174): * Single equations (assignments): 1169 * 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,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007837/1.85, allocations: 4.088 MB / 0.8427 GB, free: 105.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/1.851, allocations: 0.6844 MB / 0.8434 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/1.878, allocations: 14.17 MB / 0.8572 GB, free: 91.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/1.878, allocations: 43.98 kB / 0.8573 GB, free: 91.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/1.878, allocations: 24 kB / 0.8573 GB, free: 91.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.629e-05/1.878, allocations: 19.92 kB / 0.8573 GB, free: 91.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04823/1.926, allocations: 25.06 MB / 0.8818 GB, free: 66.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/1.926, allocations: 4.875 kB / 0.8818 GB, free: 66.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.929, allocations: 0.5812 MB / 0.8824 GB, free: 65.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/1.947, allocations: 6.328 MB / 0.8885 GB, free: 59.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/1.948, allocations: 80 kB / 0.8886 GB, free: 59.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04106/1.989, allocations: 31.36 MB / 0.9193 GB, free: 27.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.989, allocations: 11.94 kB / 0.9193 GB, free: 27.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/2.025, allocations: 20.83 MB / 0.9396 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/2.027, allocations: 0.6443 MB / 0.9402 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/2.029, allocations: 80.06 kB / 0.9403 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00499/2.034, allocations: 327.5 kB / 0.9406 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/2.036, allocations: 322.9 kB / 0.9409 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006745/2.037, allocations: 112 kB / 0.941 GB, free: 5.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008113/2.045, allocations: 4.45 MB / 0.9454 GB, free: 1.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/2.045, allocations: 0 / 0.9454 GB, free: 1.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01251/2.057, allocations: 2.396 MB / 0.9477 GB, free: 14.73 MB / 0.5607 GB 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 (294): * Single equations (assignments): 290 * 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,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/2.059, allocations: 280.9 kB / 0.948 GB, free: 14.47 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2679/2.327, allocations: 12.08 MB / 0.9598 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.327, allocations: 1.422 kB / 0.9598 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009518/2.336, allocations: 4.885 MB / 0.9646 GB, free: 192.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008018/2.344, allocations: 0.991 MB / 0.9655 GB, free: 192 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04365/2.388, allocations: 22.87 MB / 0.9879 GB, free: 177.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008222/2.396, allocations: 5.935 MB / 0.9937 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006596/2.403, allocations: 2.913 MB / 0.9965 GB, free: 171.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/2.404, allocations: 409 kB / 0.9969 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.072e-06/2.404, allocations: 0 / 0.9969 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.1826/2.587, allocations: 113.9 MB / 1.108 GB, free: 58.47 MB / 0.5607 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.155569860711694]