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.001001/0.001001, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009767/0.0009767, allocations: 167 kB / 25.33 MB, free: 9.219 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.9241/0.9241, allocations: 158.6 MB / 187.2 MB, free: 2.898 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 1.443e-06/1.443e-06, allocations: 0 / 251.1 MB, free: 7.477 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.655e-05, allocations: 2.312 kB / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.0164/0.01641, allocations: 22.81 MB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.02694, allocations: 6.999 MB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.02907, allocations: 214.8 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007432/0.0365, allocations: 8.595 MB / 289.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.04197, allocations: 3.86 MB / 293.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.04498, allocations: 2.305 MB / 295.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.05698, allocations: 14.17 MB / 310 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009065/0.06605, allocations: 9.8 MB / 319.8 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009727/0.07578, allocations: 8.5 MB / 328.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.08213, allocations: 6.723 MB / 335 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.08354, allocations: 1.039 MB / 336.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.08628, allocations: 2.138 MB / 338.2 MB, free: 0 / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003393/0.08967, allocations: 5.53 MB / 343.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.09286, allocations: 3.495 MB / 347.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1515/0.2444, allocations: 10.75 MB / 358 MB, free: 52.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2444, allocations: 0.5938 kB / 358 MB, free: 52.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2444, allocations: 1.594 kB / 358 MB, free: 52.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005436/0.2449, allocations: 0 / 358 MB, free: 52.78 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.0173/0.2622, allocations: 12.37 MB / 370.4 MB, free: 48.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2623, allocations: 13.73 kB / 370.4 MB, free: 48.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/0.2823, allocations: 6.238 MB / 376.6 MB, free: 47.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009768/0.2921, allocations: 7.183 MB / 383.8 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.2923, allocations: 0.5203 MB / 384.3 MB, free: 46.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.2933, allocations: 0.7299 MB / 385 MB, free: 46.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/0.3132, allocations: 12.03 MB / 397.1 MB, free: 41.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.3134, allocations: 85.8 kB / 397.2 MB, free: 40.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.314, allocations: 329.3 kB / 397.5 MB, free: 40.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002093/0.3161, allocations: 2.784 MB / 400.3 MB, free: 38.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.3284, allocations: 6.345 MB / 406.6 MB, free: 32.12 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.06324/0.3917, allocations: 74.91 MB / 481.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009234/0.4009, allocations: 4.546 MB / 486.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.4025, allocations: 1.279 MB / 487.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.4155, allocations: 10.17 MB / 497.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.4155, allocations: 72.8 kB / 497.6 MB, free: 4.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=296): time 4.849e-06/0.4156, allocations: 4 kB / 497.6 MB, free: 4.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=397): time 0.2227/0.6383, allocations: 41.36 MB / 0.5263 GB, free: 126.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.6384, allocations: 409.7 kB / 0.5267 GB, free: 125.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/0.6441, allocations: 6.617 MB / 0.5332 GB, free: 120.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.6444, allocations: 93.19 kB / 0.5333 GB, free: 120.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002156/0.6465, allocations: 6.102 MB / 0.5392 GB, free: 116 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008343/0.6474, allocations: 1.555 MB / 0.5407 GB, free: 114.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.6491, allocations: 2.123 MB / 0.5428 GB, free: 112.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.6491, allocations: 480.7 kB / 0.5433 GB, free: 111.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.6512, allocations: 1.468 MB / 0.5447 GB, free: 110.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/0.655, allocations: 9.114 MB / 0.5536 GB, free: 97.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006882/0.6619, allocations: 11.33 MB / 0.5647 GB, free: 83.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.574e-05/0.662, allocations: 52 kB / 0.5647 GB, free: 83.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.01263/0.6746, allocations: 10.57 MB / 0.575 GB, free: 72.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.6747, allocations: 83.94 kB / 0.5751 GB, free: 72.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-05/0.6747, allocations: 172.1 kB / 0.5753 GB, free: 72.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/0.6798, allocations: 2.414 MB / 0.5776 GB, free: 70.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/0.6837, allocations: 2.304 MB / 0.5799 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.6937, allocations: 7.95 MB / 0.5877 GB, free: 59.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004893/0.6986, allocations: 0.8036 MB / 0.5884 GB, free: 59.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/0.699, allocations: 0.5195 MB / 0.5889 GB, free: 58.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * 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 (1196): * Single equations (assignments): 1191 * 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,78,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002465/0.7015, allocations: 0.9231 MB / 0.5898 GB, free: 57.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000792/0.7023, allocations: 0.7979 MB / 0.5906 GB, free: 56.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/0.7097, allocations: 4.937 MB / 0.5954 GB, free: 51.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.7097, allocations: 36 kB / 0.5955 GB, free: 51.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7097, allocations: 20 kB / 0.5955 GB, free: 51.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.7097, allocations: 19.92 kB / 0.5955 GB, free: 51.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.7283, allocations: 15.2 MB / 0.6104 GB, free: 36.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.7283, allocations: 19.02 kB / 0.6104 GB, free: 36.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.7298, allocations: 0.6942 MB / 0.6111 GB, free: 35.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004719/0.7345, allocations: 2.055 MB / 0.6131 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.7347, allocations: 87.92 kB / 0.6132 GB, free: 33.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008643/0.7434, allocations: 7.062 MB / 0.62 GB, free: 26.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.7434, allocations: 19.94 kB / 0.6201 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1505/0.8939, allocations: 6.918 MB / 0.6268 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/0.8971, allocations: 1.369 MB / 0.6282 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009485/0.8981, allocations: 83.22 kB / 0.6282 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/0.9013, allocations: 440.3 kB / 0.6287 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008225/0.9022, allocations: 301.8 kB / 0.6289 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003019/0.9025, allocations: 115.2 kB / 0.6291 GB, free: 116.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004165/0.9066, allocations: 3.109 MB / 0.6321 GB, free: 116.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9066, allocations: 0 / 0.6321 GB, free: 116.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005853/0.9125, allocations: 2.548 MB / 0.6346 GB, free: 116.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 65 * 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 (314): * Single equations (assignments): 310 * 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,67,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005749/0.9131, allocations: 321.5 kB / 0.6349 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.9195, allocations: 5.699 MB / 0.6405 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.9195, allocations: 3.906 kB / 0.6405 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.9216, allocations: 1.912 MB / 0.6423 GB, free: 115.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/0.9248, allocations: 1.054 MB / 0.6434 GB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.9415, allocations: 17.01 MB / 0.66 GB, free: 105.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/0.9434, allocations: 2.728 MB / 0.6626 GB, free: 104.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003655/0.947, allocations: 2.464 MB / 0.665 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/0.948, allocations: 437.8 kB / 0.6655 GB, free: 102.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.948, allocations: 0 / 0.6655 GB, free: 102.6 MB / 394.7 MB Notification: Performance of Templates: time 0.1108/1.059, allocations: 94.88 MB / 0.7581 GB, free: 10.3 MB / 394.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.566264764405787]