Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 142.4 kB / 24.89 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9199/0.9199, allocations: 173.3 MB / 201.5 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.964e-05, allocations: 6.312 kB / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01589/0.01591, allocations: 21.99 MB / 290.5 MB, free: 40 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.1392, allocations: 7.229 MB / 297.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.1428, allocations: 221.4 kB / 298 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008832/0.1516, allocations: 8.395 MB / 306.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007698/0.1593, allocations: 3.862 MB / 310.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.1632, allocations: 2.309 MB / 312.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.1757, allocations: 15.14 MB / 327.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.1868, allocations: 9.278 MB / 337 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.2007, allocations: 9.295 MB / 346.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009793/0.2105, allocations: 6.456 MB / 352.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.2134, allocations: 1.039 MB / 353.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.2182, allocations: 2.197 MB / 355.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005797/0.224, allocations: 5.499 MB / 361.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007056/0.231, allocations: 3.491 MB / 364.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.2456, allocations: 10.74 MB / 375.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2456, allocations: 0 / 375.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2456, allocations: 8 kB / 375.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004471/0.246, allocations: 0 / 375.7 MB, free: 13.28 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.01681/0.2628, allocations: 10.46 MB / 386.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2629, allocations: 8.031 kB / 386.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007215/0.2701, allocations: 2.435 MB / 388.6 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008417/0.2785, allocations: 5.752 MB / 394.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.2788, allocations: 0.5179 MB / 394.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.2803, allocations: 0.7344 MB / 395.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.2973, allocations: 9.659 MB / 405.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.2975, allocations: 87.28 kB / 405.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/0.2986, allocations: 327.8 kB / 405.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.3007, allocations: 2.619 MB / 408.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.3116, allocations: 4.671 MB / 412.9 MB, free: 6.625 MB / 362.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.2623/0.5739, allocations: 54.14 MB / 467.1 MB, free: 79.08 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.583, allocations: 3.585 MB / 470.7 MB, free: 78.82 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.5847, allocations: 0.8736 MB / 471.5 MB, free: 78.78 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/0.5989, allocations: 8.627 MB / 480.2 MB, free: 77.88 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.599, allocations: 68 kB / 480.2 MB, free: 77.82 MB / 378.8 MB Notification: Performance of pre-optimization done (n=299): time 7.003e-06/0.599, allocations: 0 / 480.2 MB, free: 77.82 MB / 378.8 MB Notification: Performance of matching and sorting (n=407): time 0.06005/0.659, allocations: 23.21 MB / 0.4916 GB, free: 63.05 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.6591, allocations: 398.6 kB / 0.492 GB, free: 62.57 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005723/0.6648, allocations: 5.832 MB / 0.4977 GB, free: 57.77 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000857/0.6657, allocations: 93.7 kB / 0.4978 GB, free: 57.67 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.6672, allocations: 5.094 MB / 0.5028 GB, free: 52.85 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/0.6687, allocations: 1.534 MB / 0.5043 GB, free: 51.3 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.6704, allocations: 1.894 MB / 0.5061 GB, free: 49.4 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.614e-05/0.6704, allocations: 309.1 kB / 0.5064 GB, free: 49.09 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.6728, allocations: 1.525 MB / 0.5079 GB, free: 47.56 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.6761, allocations: 6.584 MB / 0.5143 GB, free: 38.6 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005843/0.6819, allocations: 8.589 MB / 0.5227 GB, free: 27.89 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.988e-05/0.682, allocations: 52 kB / 0.5228 GB, free: 27.84 MB / 378.8 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.01259/0.6946, allocations: 7.922 MB / 0.5305 GB, free: 19.87 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.6947, allocations: 84.94 kB / 0.5306 GB, free: 19.79 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.73e-05/0.6948, allocations: 168 kB / 0.5308 GB, free: 19.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.7005, allocations: 2.121 MB / 0.5328 GB, free: 17.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/0.7053, allocations: 2.25 MB / 0.535 GB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009576/0.7149, allocations: 6.81 MB / 0.5417 GB, free: 8.34 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/0.7204, allocations: 391.8 kB / 0.5421 GB, free: 7.957 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008327/0.7212, allocations: 452 kB / 0.5425 GB, free: 7.516 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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 (1194): * Single equations (assignments): 1189 * 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,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002664/0.7239, allocations: 0.8828 MB / 0.5433 GB, free: 6.617 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/0.7251, allocations: 499.4 kB / 0.5438 GB, free: 6.129 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.7317, allocations: 3.745 MB / 0.5475 GB, free: 2.34 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/0.7318, allocations: 40 kB / 0.5475 GB, free: 2.301 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.7318, allocations: 19.94 kB / 0.5475 GB, free: 2.281 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.7318, allocations: 15.94 kB / 0.5476 GB, free: 2.266 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02303/0.7548, allocations: 12.31 MB / 0.5596 GB, free: 5.625 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/0.7548, allocations: 16.03 kB / 0.5596 GB, free: 5.609 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/0.7573, allocations: 0.628 MB / 0.5602 GB, free: 4.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006434/0.7637, allocations: 2.156 MB / 0.5623 GB, free: 2.816 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005807/0.7643, allocations: 87.92 kB / 0.5624 GB, free: 2.73 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.7743, allocations: 6.044 MB / 0.5683 GB, free: 12.58 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.7743, allocations: 23.88 kB / 0.5683 GB, free: 12.56 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009813/0.7842, allocations: 5.31 MB / 0.5735 GB, free: 6.898 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/0.7866, allocations: 1.143 MB / 0.5746 GB, free: 5.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/0.7878, allocations: 83.98 kB / 0.5747 GB, free: 5.668 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.7897, allocations: 95.97 kB / 0.5748 GB, free: 5.574 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006587/0.7904, allocations: 318.1 kB / 0.5751 GB, free: 5.262 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.7906, allocations: 92 kB / 0.5752 GB, free: 5.172 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00292/0.7935, allocations: 2.383 MB / 0.5775 GB, free: 2.809 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7935, allocations: 4 kB / 0.5775 GB, free: 2.805 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006943/0.8005, allocations: 2.594 MB / 0.5801 GB, free: 216 kB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (318): * Single equations (assignments): 314 * 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,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.102/0.9025, allocations: 299.7 kB / 0.5803 GB, free: 135.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009406/0.9119, allocations: 4.848 MB / 0.5851 GB, free: 135.6 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004036/0.9123, allocations: 132.8 kB / 0.5852 GB, free: 135.6 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.9154, allocations: 1.63 MB / 0.5868 GB, free: 135.3 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006529/0.9219, allocations: 1.48 MB / 0.5882 GB, free: 135.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/0.9451, allocations: 16.73 MB / 0.6046 GB, free: 128.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/0.9481, allocations: 2.72 MB / 0.6072 GB, free: 128.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00309/0.9512, allocations: 0.9012 MB / 0.6081 GB, free: 128 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/0.9535, allocations: 1.113 MB / 0.6092 GB, free: 127.9 MB / 410.8 MB Notification: Performance of SimCode: time 2.044e-06/0.9535, allocations: 3.844 kB / 0.6092 GB, free: 127.9 MB / 410.8 MB Notification: Performance of Templates: time 0.1194/1.073, allocations: 103.4 MB / 0.7102 GB, free: 28.85 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.382685467135161]