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.0009904/0.0009904, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009716/0.0009716, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.8708/0.8708, allocations: 158.6 MB / 187.5 MB, free: 2.953 MB / 170.7 MB " [Timeout remaining time 179] 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 2.324e-06/2.324e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.537e-05, allocations: 6.25 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01881/0.01884, allocations: 22.73 MB / 273.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.03102, allocations: 6.991 MB / 280.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.03333, allocations: 210.9 kB / 281.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007581/0.04091, allocations: 8.568 MB / 289.6 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.04605, allocations: 3.856 MB / 293.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.04869, allocations: 2.297 MB / 295.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.06112, allocations: 14.16 MB / 310 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008259/0.06937, allocations: 9.804 MB / 319.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/0.0758, allocations: 6.69 MB / 326.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005946/0.08175, allocations: 6.762 MB / 333.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009821/0.08273, allocations: 1.039 MB / 334.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.08536, allocations: 2.131 MB / 336.4 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003126/0.08848, allocations: 5.534 MB / 341.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.09138, allocations: 3.491 MB / 345.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1403/0.2317, allocations: 10.72 MB / 356.1 MB, free: 53.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2317, allocations: 0 / 356.1 MB, free: 53.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2317, allocations: 0 / 356.1 MB, free: 53.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005294/0.2322, allocations: 0 / 356.1 MB, free: 53.59 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.01674/0.2489, allocations: 12.27 MB / 368.4 MB, free: 49.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.249, allocations: 14.33 kB / 368.4 MB, free: 49.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.2708, allocations: 6.497 MB / 374.9 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.2834, allocations: 8.036 MB / 382.9 MB, free: 47.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.2837, allocations: 0.5181 MB / 383.5 MB, free: 47.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.285, allocations: 0.7374 MB / 384.2 MB, free: 47.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.3009, allocations: 11.96 MB / 396.1 MB, free: 41.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002122/0.3011, allocations: 84.67 kB / 396.2 MB, free: 41.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006325/0.3017, allocations: 323.7 kB / 396.5 MB, free: 41.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/0.3039, allocations: 2.822 MB / 399.4 MB, free: 38.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.3159, allocations: 6.392 MB / 405.8 MB, free: 32.32 MB / 330.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.05508/0.371, allocations: 74.27 MB / 480 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.3833, allocations: 5.564 MB / 485.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.3856, allocations: 1.505 MB / 487.1 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.397, allocations: 8.771 MB / 495.9 MB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.397, allocations: 71.48 kB / 495.9 MB, free: 5.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 4.749e-06/0.397, allocations: 4 kB / 495.9 MB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=419): time 0.2175/0.6145, allocations: 37.03 MB / 0.5205 GB, free: 111.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.6146, allocations: 406 kB / 0.5209 GB, free: 111.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.6199, allocations: 6.607 MB / 0.5273 GB, free: 106.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.6201, allocations: 90.27 kB / 0.5274 GB, free: 106.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00209/0.6222, allocations: 6.087 MB / 0.5334 GB, free: 101.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.6231, allocations: 1.634 MB / 0.535 GB, free: 100.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.625, allocations: 2.173 MB / 0.5371 GB, free: 99.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.625, allocations: 480.8 kB / 0.5375 GB, free: 98.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.6272, allocations: 1.663 MB / 0.5392 GB, free: 97.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/0.6313, allocations: 9.344 MB / 0.5483 GB, free: 84.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/0.6387, allocations: 11.96 MB / 0.56 GB, free: 70.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/0.6387, allocations: 48 kB / 0.56 GB, free: 70.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01747/0.6562, allocations: 12.63 MB / 0.5723 GB, free: 58.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.6563, allocations: 77.42 kB / 0.5724 GB, free: 58.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.383e-05/0.6564, allocations: 172 kB / 0.5726 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.6666, allocations: 4.606 MB / 0.5771 GB, free: 53.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.6701, allocations: 2.152 MB / 0.5792 GB, free: 51.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.6862, allocations: 11.58 MB / 0.5905 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/0.6914, allocations: 0.7567 MB / 0.5912 GB, free: 39.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/0.6919, allocations: 0.5333 MB / 0.5917 GB, free: 38.63 MB / 394.7 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.002215/0.6941, allocations: 0.9348 MB / 0.5927 GB, free: 37.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009969/0.6951, allocations: 0.8041 MB / 0.5934 GB, free: 36.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.7068, allocations: 7.241 MB / 0.6005 GB, free: 29.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.7068, allocations: 49.08 kB / 0.6006 GB, free: 29.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.7068, allocations: 20 kB / 0.6006 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.7068, allocations: 23.92 kB / 0.6006 GB, free: 29.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/0.7303, allocations: 16.9 MB / 0.6171 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.7303, allocations: 8 kB / 0.6171 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.7316, allocations: 0.546 MB / 0.6176 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/0.742, allocations: 4.137 MB / 0.6217 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/0.7424, allocations: 75.98 kB / 0.6218 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1484/0.8908, allocations: 9.595 MB / 0.6311 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.8908, allocations: 11.78 kB / 0.6311 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.9064, allocations: 9.095 MB / 0.64 GB, free: 90.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/0.9091, allocations: 1.482 MB / 0.6415 GB, free: 90.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008542/0.9099, allocations: 82.22 kB / 0.6415 GB, free: 90.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/0.9121, allocations: 436.6 kB / 0.642 GB, free: 90.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007534/0.9129, allocations: 316 kB / 0.6423 GB, free: 90.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/0.9131, allocations: 113.3 kB / 0.6424 GB, free: 90.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00373/0.9168, allocations: 3.104 MB / 0.6454 GB, free: 90.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9168, allocations: 0 / 0.6454 GB, free: 90.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00599/0.9228, allocations: 2.734 MB / 0.6481 GB, free: 90.33 MB / 394.7 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.0006353/0.9235, allocations: 311.5 kB / 0.6484 GB, free: 90.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007683/0.9311, allocations: 6.611 MB / 0.6548 GB, free: 89.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9312, allocations: 3.875 kB / 0.6548 GB, free: 89.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.9339, allocations: 2.556 MB / 0.6573 GB, free: 89.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.9369, allocations: 1.048 MB / 0.6583 GB, free: 89.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/0.9614, allocations: 18.18 MB / 0.6761 GB, free: 77.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.964, allocations: 2.746 MB / 0.6788 GB, free: 76.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00483/0.9688, allocations: 2.447 MB / 0.6812 GB, free: 74.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.97, allocations: 443.8 kB / 0.6816 GB, free: 74.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.97, allocations: 0 / 0.6816 GB, free: 74.57 MB / 394.7 MB Notification: Performance of Templates: time 0.2384/1.208, allocations: 109 MB / 0.7881 GB, free: 127.8 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] 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","",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.70471820095554]