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.0008545/0.0008545, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0007728/0.0007728, allocations: 156.5 kB / 25.44 MB, free: 8.855 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.8332/0.8332, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.663e-06/1.663e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.67e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01528/0.01532, allocations: 20.26 MB / 320 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.02843, allocations: 6.854 MB / 326.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004497/0.03293, allocations: 210.9 kB / 327 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009287/0.04221, allocations: 8.138 MB / 335.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.05104, allocations: 3.849 MB / 339 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.05501, allocations: 2.273 MB / 341.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1739/0.2289, allocations: 14.15 MB / 355.5 MB, free: 20.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/0.2457, allocations: 9.498 MB / 365 MB, free: 19.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01644/0.2621, allocations: 6.65 MB / 371.6 MB, free: 19.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.2724, allocations: 6.517 MB / 378.1 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003606/0.276, allocations: 1.035 MB / 379.2 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005826/0.2818, allocations: 2.141 MB / 381.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008686/0.2905, allocations: 5.478 MB / 386.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007494/0.298, allocations: 3.465 MB / 390.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.3152, allocations: 17.82 MB / 408.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3152, allocations: 7.984 kB / 408.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3152, allocations: 4 kB / 408.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006753/0.3158, allocations: 0 / 408.1 MB, free: 14.75 MB / 346.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.0293/0.3451, allocations: 11.67 MB / 419.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3452, allocations: 11.98 kB / 419.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/0.3699, allocations: 5.717 MB / 425.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/0.388, allocations: 9.096 MB / 434.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.3884, allocations: 0.519 MB / 435.1 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/0.3919, allocations: 0.7317 MB / 435.8 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/0.4262, allocations: 19.86 MB / 455.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003717/0.4266, allocations: 94.73 kB / 455.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/0.4286, allocations: 326.2 kB / 456.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/0.4314, allocations: 2.821 MB / 458.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02878/0.4602, allocations: 16.24 MB / 475.2 MB, free: 11.56 MB / 410.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.4393/0.8995, allocations: 68.42 MB / 0.5308 GB, free: 104.6 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/0.9142, allocations: 8.056 MB / 0.5387 GB, free: 104 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/0.9189, allocations: 4.502 MB / 0.5431 GB, free: 102.1 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02026/0.9392, allocations: 12.72 MB / 0.5555 GB, free: 96.92 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.9392, allocations: 74.97 kB / 0.5556 GB, free: 96.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=319): time 7.865e-06/0.9392, allocations: 0 / 0.5556 GB, free: 96.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=419): time 0.1035/1.043, allocations: 52.49 MB / 0.6069 GB, free: 50.54 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/1.043, allocations: 406.7 kB / 0.6072 GB, free: 50.06 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.054, allocations: 8.149 MB / 0.6152 GB, free: 42.14 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001619/1.056, allocations: 92.59 kB / 0.6153 GB, free: 42.04 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.059, allocations: 5.813 MB / 0.621 GB, free: 36.78 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.061, allocations: 1.583 MB / 0.6225 GB, free: 35.21 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/1.064, allocations: 2.066 MB / 0.6245 GB, free: 33.14 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.456e-05/1.064, allocations: 302.2 kB / 0.6248 GB, free: 32.84 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004964/1.069, allocations: 5.111 MB / 0.6298 GB, free: 27.73 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006693/1.076, allocations: 10.42 MB / 0.64 GB, free: 14.89 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/1.09, allocations: 16.13 MB / 0.6557 GB, free: 12.43 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/1.091, allocations: 48 kB / 0.6558 GB, free: 12.38 MB / 458.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03514/1.126, allocations: 20.75 MB / 0.676 GB, free: 7.602 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.126, allocations: 80 kB / 0.6761 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/1.126, allocations: 172 kB / 0.6763 GB, free: 7.355 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.139, allocations: 6.443 MB / 0.6826 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1905/1.329, allocations: 2.142 MB / 0.6847 GB, free: 156 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03462/1.364, allocations: 33.07 MB / 0.717 GB, free: 143.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007979/1.372, allocations: 0.7603 MB / 0.7177 GB, free: 143.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/1.374, allocations: 0.5324 MB / 0.7182 GB, free: 143.5 MB / 474.8 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.008007/1.382, allocations: 4.105 MB / 0.7222 GB, free: 141.9 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.384, allocations: 0.6879 MB / 0.7229 GB, free: 141.9 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.401, allocations: 13.71 MB / 0.7363 GB, free: 132.9 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-05/1.401, allocations: 47.28 kB / 0.7363 GB, free: 132.9 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/1.401, allocations: 20 kB / 0.7364 GB, free: 132.8 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/1.401, allocations: 23.92 kB / 0.7364 GB, free: 132.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03784/1.439, allocations: 24.51 MB / 0.7603 GB, free: 108.4 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/1.439, allocations: 8 kB / 0.7603 GB, free: 108.4 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.441, allocations: 0.5499 MB / 0.7609 GB, free: 107.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/1.452, allocations: 5.932 MB / 0.7667 GB, free: 102 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/1.453, allocations: 79.98 kB / 0.7667 GB, free: 101.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/1.48, allocations: 29.81 MB / 0.7958 GB, free: 72.26 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.48, allocations: 11.94 kB / 0.7959 GB, free: 72.25 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.504, allocations: 19.88 MB / 0.8153 GB, free: 52.61 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/1.508, allocations: 1.586 MB / 0.8168 GB, free: 51.19 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/1.51, allocations: 81.98 kB / 0.8169 GB, free: 51.11 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/1.513, allocations: 444.8 kB / 0.8173 GB, free: 50.68 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008843/1.514, allocations: 310.9 kB / 0.8176 GB, free: 50.37 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.514, allocations: 114.8 kB / 0.8177 GB, free: 50.26 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006584/1.521, allocations: 5.074 MB / 0.8227 GB, free: 45.21 MB / 474.8 MB Notification: Performance of sort global known variables: time 2e-07/1.521, allocations: 0 / 0.8227 GB, free: 45.21 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01003/1.531, allocations: 2.721 MB / 0.8253 GB, free: 42.5 MB / 474.8 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.001313/1.532, allocations: 308.5 kB / 0.8256 GB, free: 42.22 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01377/1.546, allocations: 11.8 MB / 0.8372 GB, free: 30.46 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.546, allocations: 0 / 0.8372 GB, free: 30.46 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00553/1.552, allocations: 4.68 MB / 0.8417 GB, free: 25.77 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006528/1.558, allocations: 0.9905 MB / 0.8427 GB, free: 24.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2124/1.771, allocations: 23.56 MB / 0.8657 GB, free: 153.9 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/1.784, allocations: 5.847 MB / 0.8714 GB, free: 153.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/1.786, allocations: 0.4956 MB / 0.8719 GB, free: 153.4 MB / 474.8 MB Notification: Performance of SimCode: time 1.894e-06/1.786, allocations: 0 / 0.8719 GB, free: 153.4 MB / 474.8 MB Notification: Performance of Templates: time 0.3652/2.151, allocations: 169.2 MB / 1.037 GB, free: 149.2 MB / 474.8 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.345269637182355]