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.001361/0.001361, allocations: 85.95 kB / 23 MB, free: 1.504 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.001293/0.001293, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9146/0.9146, allocations: 158.6 MB / 188.3 MB, free: 2.82 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 / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.905e-05, allocations: 6.25 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02094/0.02097, allocations: 21.99 MB / 274.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.03628, allocations: 6.947 MB / 281.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.04185, allocations: 218.8 kB / 281.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.05407, allocations: 8.423 MB / 289.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.06464, allocations: 3.86 MB / 293.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.0695, allocations: 2.305 MB / 296 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.08404, allocations: 14.17 MB / 310.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.09631, allocations: 9.804 MB / 320 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01515/0.1115, allocations: 8.536 MB / 328.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00916/0.1206, allocations: 6.739 MB / 335.3 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002641/0.1233, allocations: 1.039 MB / 336.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.1273, allocations: 2.138 MB / 338.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.1333, allocations: 5.53 MB / 344 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006195/0.1395, allocations: 3.495 MB / 347.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1415/0.281, allocations: 10.76 MB / 358.2 MB, free: 53.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.281, allocations: 0 / 358.2 MB, free: 53.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.281, allocations: 0 / 358.2 MB, free: 53.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005266/0.2815, allocations: 2.188 kB / 358.2 MB, free: 53.01 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.02466/0.3062, allocations: 11.52 MB / 369.7 MB, free: 48.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3062, allocations: 13.27 kB / 369.8 MB, free: 48.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/0.3345, allocations: 5.29 MB / 375 MB, free: 48.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.3468, allocations: 6.272 MB / 381.3 MB, free: 46.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.3472, allocations: 0.522 MB / 381.8 MB, free: 46.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.3491, allocations: 0.7316 MB / 382.6 MB, free: 46.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/0.3716, allocations: 10.58 MB / 393.2 MB, free: 42.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000508/0.3722, allocations: 91.67 kB / 393.2 MB, free: 42.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002034/0.3742, allocations: 321.5 kB / 393.6 MB, free: 42.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/0.3767, allocations: 2.625 MB / 396.2 MB, free: 42.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.3927, allocations: 4.727 MB / 400.9 MB, free: 38.81 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.07225/0.465, allocations: 73.48 MB / 474.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009933/0.4749, allocations: 3.769 MB / 478.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.4771, allocations: 1.076 MB / 479.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/0.4957, allocations: 9.121 MB / 488.4 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.4958, allocations: 70.77 kB / 488.4 MB, free: 216 kB / 378.7 MB Notification: Performance of pre-optimization done (n=296): time 7.134e-06/0.4958, allocations: 0 / 488.4 MB, free: 216 kB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.2288/0.7246, allocations: 24.07 MB / 0.5005 GB, free: 141.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.7247, allocations: 401.8 kB / 0.5009 GB, free: 141.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007078/0.7318, allocations: 6.518 MB / 0.5072 GB, free: 140.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001179/0.733, allocations: 91.33 kB / 0.5073 GB, free: 140.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003209/0.7362, allocations: 6.161 MB / 0.5133 GB, free: 137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/0.7384, allocations: 1.559 MB / 0.5149 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002849/0.7413, allocations: 2.163 MB / 0.517 GB, free: 135.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.7413, allocations: 487.1 kB / 0.5174 GB, free: 135.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.7438, allocations: 1.298 MB / 0.5187 GB, free: 135.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005109/0.7489, allocations: 9.004 MB / 0.5275 GB, free: 125.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008997/0.7579, allocations: 10.82 MB / 0.5381 GB, free: 113.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/0.7581, allocations: 52 kB / 0.5381 GB, free: 113.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.01746/0.7756, allocations: 8.999 MB / 0.5469 GB, free: 105.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.7756, allocations: 80.22 kB / 0.547 GB, free: 105.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/0.7758, allocations: 181 kB / 0.5472 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/0.782, allocations: 1.805 MB / 0.5489 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/0.7878, allocations: 2.109 MB / 0.551 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.799, allocations: 7.076 MB / 0.5579 GB, free: 94.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008758/0.8078, allocations: 399.7 kB / 0.5583 GB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/0.8093, allocations: 456 kB / 0.5587 GB, free: 93.54 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.004608/0.8139, allocations: 0.9247 MB / 0.5596 GB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/0.8163, allocations: 0.7956 MB / 0.5604 GB, free: 91.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/0.8231, allocations: 3.803 MB / 0.5641 GB, free: 87.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-05/0.8232, allocations: 44 kB / 0.5641 GB, free: 87.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.8232, allocations: 12 kB / 0.5641 GB, free: 87.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/0.8232, allocations: 23.92 kB / 0.5642 GB, free: 87.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/0.8501, allocations: 13.48 MB / 0.5773 GB, free: 74.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.8502, allocations: 12 kB / 0.5773 GB, free: 74.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.8518, allocations: 0.5343 MB / 0.5779 GB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004707/0.8565, allocations: 1.554 MB / 0.5794 GB, free: 71.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004573/0.857, allocations: 84 kB / 0.5795 GB, free: 71.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008542/0.8655, allocations: 6.278 MB / 0.5856 GB, free: 65.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.8655, allocations: 21.25 kB / 0.5856 GB, free: 65.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.8763, allocations: 5.747 MB / 0.5912 GB, free: 59.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004033/0.8803, allocations: 1.198 MB / 0.5924 GB, free: 58.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/0.8823, allocations: 87.97 kB / 0.5925 GB, free: 58.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/0.8857, allocations: 97.11 kB / 0.5926 GB, free: 57.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/0.8862, allocations: 307.2 kB / 0.5929 GB, free: 57.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/0.8865, allocations: 95.98 kB / 0.593 GB, free: 57.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003911/0.8904, allocations: 2.85 MB / 0.5957 GB, free: 54.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8904, allocations: 0 / 0.5957 GB, free: 54.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008823/0.8992, allocations: 2.551 MB / 0.5982 GB, free: 52.17 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.0009123/0.9001, allocations: 319.3 kB / 0.5985 GB, free: 51.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00771/0.9078, allocations: 5.221 MB / 0.6036 GB, free: 46.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/0.9078, allocations: 0 / 0.6036 GB, free: 46.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.9103, allocations: 1.754 MB / 0.6053 GB, free: 44.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005808/0.9161, allocations: 1.057 MB / 0.6064 GB, free: 43.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/0.9426, allocations: 16.89 MB / 0.6229 GB, free: 26.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003435/0.9461, allocations: 2.724 MB / 0.6255 GB, free: 23.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.1257/1.072, allocations: 0.9092 MB / 0.6264 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/1.075, allocations: 1.204 MB / 0.6276 GB, free: 125.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/1.075, allocations: 0 / 0.6276 GB, free: 125.1 MB / 394.7 MB Notification: Performance of Templates: time 0.1255/1.2, allocations: 100.5 MB / 0.7258 GB, free: 47.17 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: 6.059990916866809]