Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 216.8 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2826, allocations: 53.31 MB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02639/0.309, allocations: 23.44 MB / 453.3 MB, free: 176 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.3262, allocations: 7.124 MB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.3309, allocations: 179.4 kB / 460.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01554/0.3465, allocations: 8.022 MB / 468.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.3566, allocations: 3.65 MB / 472.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.3614, allocations: 2.016 MB / 474.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02044/0.3818, allocations: 13.55 MB / 487.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/0.3931, allocations: 7.422 MB / 495.2 MB, free: 6.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008838/0.4019, allocations: 4.277 MB / 499.5 MB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.4129, allocations: 6.116 MB / 0.4938 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004232/0.4171, allocations: 1 MB / 0.4947 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/0.423, allocations: 2.197 MB / 0.4969 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007433/0.4304, allocations: 5.163 MB / 0.5019 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008863/0.4393, allocations: 5.394 MB / 0.5072 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02305/0.4624, allocations: 17.25 MB / 0.524 GB, free: 12.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4624, allocations: 4 kB / 0.524 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4624, allocations: 4 kB / 0.5241 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005313/0.4629, allocations: 0 / 0.5241 GB, free: 12.49 MB / 446.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.02972/0.4926, allocations: 11.45 MB / 0.5352 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4927, allocations: 8.031 kB / 0.5352 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4192/0.9119, allocations: 5.474 MB / 0.5406 GB, free: 94.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.9291, allocations: 8.93 MB / 0.5493 GB, free: 90.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.9293, allocations: 0.5182 MB / 0.5498 GB, free: 90.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.9312, allocations: 0.7208 MB / 0.5505 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/0.9631, allocations: 19.52 MB / 0.5696 GB, free: 70.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.9634, allocations: 95.36 kB / 0.5697 GB, free: 69.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008538/0.9642, allocations: 324.8 kB / 0.57 GB, free: 69.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/0.9674, allocations: 2.817 MB / 0.5727 GB, free: 66.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/0.9969, allocations: 16.25 MB / 0.5886 GB, free: 50.58 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.08935/1.086, allocations: 74.17 MB / 0.661 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.11, allocations: 8.209 MB / 0.6691 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007227/1.117, allocations: 4.492 MB / 0.6734 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02823/1.145, allocations: 15.49 MB / 0.6886 GB, free: 9.93 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.905e-05/1.145, allocations: 76.59 kB / 0.6886 GB, free: 9.844 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=320): time 5.45e-06/1.145, allocations: 4 kB / 0.6887 GB, free: 9.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=426): time 0.1848/1.33, allocations: 52.68 MB / 0.7401 GB, free: 5.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/1.33, allocations: 410.8 kB / 0.7405 GB, free: 4.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2382/1.568, allocations: 7.56 MB / 0.7479 GB, free: 186.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009356/1.569, allocations: 93.86 kB / 0.748 GB, free: 186.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.573, allocations: 5.784 MB / 0.7536 GB, free: 183.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.574, allocations: 1.627 MB / 0.7552 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/1.577, allocations: 2.097 MB / 0.7572 GB, free: 181.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/1.577, allocations: 308.8 kB / 0.7575 GB, free: 181.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006256/1.584, allocations: 5.217 MB / 0.7626 GB, free: 179.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008508/1.592, allocations: 10.26 MB / 0.7727 GB, free: 170.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/1.61, allocations: 16.31 MB / 0.7886 GB, free: 158.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/1.61, allocations: 48.19 kB / 0.7886 GB, free: 158.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.04265/1.653, allocations: 21.19 MB / 0.8093 GB, free: 142.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003339/1.653, allocations: 76 kB / 0.8094 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003635/1.653, allocations: 172 kB / 0.8096 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/1.671, allocations: 6.655 MB / 0.8161 GB, free: 136 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006653/1.678, allocations: 2.156 MB / 0.8182 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04495/1.723, allocations: 35.05 MB / 0.8524 GB, free: 98.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009576/1.732, allocations: 0.6203 MB / 0.853 GB, free: 98.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/1.735, allocations: 0.5422 MB / 0.8535 GB, free: 97.47 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 (1176): * Single equations (assignments): 1171 * 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.008563/1.743, allocations: 4.088 MB / 0.8575 GB, free: 93.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/1.746, allocations: 0.7295 MB / 0.8582 GB, free: 92.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02903/1.775, allocations: 14.21 MB / 0.8721 GB, free: 78.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.886e-05/1.775, allocations: 44 kB / 0.8722 GB, free: 78.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.147e-05/1.775, allocations: 24 kB / 0.8722 GB, free: 78.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.775, allocations: 19.92 kB / 0.8722 GB, free: 78.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05813/1.833, allocations: 27.8 MB / 0.8993 GB, free: 50.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.669e-05/1.833, allocations: 15.53 kB / 0.8994 GB, free: 50.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/1.836, allocations: 0.5851 MB / 0.8999 GB, free: 49.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/1.854, allocations: 6.331 MB / 0.9061 GB, free: 43.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/1.855, allocations: 80 kB / 0.9062 GB, free: 43.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04194/1.897, allocations: 31.91 MB / 0.9373 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.897, allocations: 12.22 kB / 0.9374 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2949/2.192, allocations: 20.88 MB / 0.9578 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/2.194, allocations: 0.7752 MB / 0.9585 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/2.196, allocations: 78.41 kB / 0.9586 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/2.2, allocations: 334.3 kB / 0.9589 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.201, allocations: 303.3 kB / 0.9592 GB, free: 182.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/2.201, allocations: 113.6 kB / 0.9593 GB, free: 182.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006502/2.207, allocations: 4.826 MB / 0.964 GB, free: 181.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/2.207, allocations: 0 / 0.964 GB, free: 181.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01109/2.219, allocations: 2.407 MB / 0.9664 GB, free: 181.1 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.001076/2.22, allocations: 278.1 kB / 0.9666 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.237, allocations: 12.1 MB / 0.9784 GB, free: 176.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.237, allocations: 6.547 kB / 0.9785 GB, free: 176.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007502/2.244, allocations: 4.884 MB / 0.9832 GB, free: 174.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008104/2.252, allocations: 1.074 MB / 0.9843 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04263/2.295, allocations: 22.93 MB / 1.007 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/2.307, allocations: 6.375 MB / 1.013 GB, free: 151.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008734/2.316, allocations: 2.957 MB / 1.016 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/2.318, allocations: 431.4 kB / 1.016 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.843e-06/2.318, allocations: 0 / 1.016 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.159/2.477, allocations: 107.3 MB / 1.121 GB, free: 41.97 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.588888829573989]