Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005272/0.005272, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9888/0.9888, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.046e-05, allocations: 2.312 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02008/0.0201, allocations: 21.84 MB / 296 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.03467, allocations: 6.923 MB / 302.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.03914, allocations: 214.8 kB / 303.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.05113, allocations: 8.384 MB / 311.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.06403, allocations: 3.802 MB / 315.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005495/0.06952, allocations: 2.309 MB / 317.6 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01785/0.08737, allocations: 15.72 MB / 333.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1407/0.2281, allocations: 9.779 MB / 343.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01214/0.2403, allocations: 9.57 MB / 352.7 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00643/0.2467, allocations: 6.71 MB / 359.4 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.2479, allocations: 1.035 MB / 360.4 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.2501, allocations: 2.13 MB / 362.6 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002516/0.2526, allocations: 5.48 MB / 368 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.2548, allocations: 3.469 MB / 371.5 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005585/0.2604, allocations: 10.68 MB / 382.2 MB, free: 16.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2604, allocations: 3.469 kB / 382.2 MB, free: 16.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2604, allocations: 0 / 382.2 MB, free: 16.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.2605, allocations: 4 kB / 382.2 MB, free: 16.74 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.01069/0.2712, allocations: 11.47 MB / 393.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2712, allocations: 8.031 kB / 393.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/0.2911, allocations: 5.28 MB / 399 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007397/0.2985, allocations: 6.161 MB / 405.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.2988, allocations: 0.5224 MB / 405.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008763/0.2997, allocations: 0.7241 MB / 406.4 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3127, allocations: 10.59 MB / 417 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.3129, allocations: 89.75 kB / 417 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005711/0.3135, allocations: 319.1 kB / 417.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.3156, allocations: 2.624 MB / 420 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009867/0.3255, allocations: 4.734 MB / 424.7 MB, free: 6.867 MB / 346.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.2845/0.61, allocations: 73.38 MB / 498.1 MB, free: 125 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.6215, allocations: 3.756 MB / 0.4901 GB, free: 124.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.623, allocations: 1.082 MB / 0.4911 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.644, allocations: 9.096 MB / 0.5 GB, free: 123.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.6441, allocations: 71.42 kB / 0.5001 GB, free: 123.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=298): time 6.532e-06/0.6441, allocations: 0 / 0.5001 GB, free: 123.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=406): time 0.08091/0.725, allocations: 29.6 MB / 0.529 GB, free: 111.4 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.725, allocations: 411 kB / 0.5294 GB, free: 110.9 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005022/0.7301, allocations: 6.4 MB / 0.5356 GB, free: 106.4 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.7303, allocations: 96.62 kB / 0.5357 GB, free: 106.4 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.7322, allocations: 6.132 MB / 0.5417 GB, free: 100.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/0.7331, allocations: 1.597 MB / 0.5433 GB, free: 99.22 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.7348, allocations: 2.169 MB / 0.5454 GB, free: 97.04 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.7349, allocations: 480.7 kB / 0.5458 GB, free: 96.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.7368, allocations: 1.355 MB / 0.5472 GB, free: 95.21 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.7405, allocations: 9.004 MB / 0.556 GB, free: 82.92 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/0.7469, allocations: 10.87 MB / 0.5666 GB, free: 69.31 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.488e-05/0.747, allocations: 48 kB / 0.5666 GB, free: 69.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.01275/0.7598, allocations: 9.315 MB / 0.5757 GB, free: 59.93 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.7598, allocations: 79.44 kB / 0.5758 GB, free: 59.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.707e-05/0.7599, allocations: 172 kB / 0.576 GB, free: 59.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/0.7655, allocations: 2.149 MB / 0.5781 GB, free: 57.53 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/0.769, allocations: 2.106 MB / 0.5801 GB, free: 55.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/0.7787, allocations: 7.782 MB / 0.5877 GB, free: 47.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/0.7838, allocations: 399.8 kB / 0.5881 GB, free: 47.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/0.7843, allocations: 456 kB / 0.5885 GB, free: 46.69 MB / 410.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 (1193): * Single equations (assignments): 1188 * 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.002438/0.7868, allocations: 0.9256 MB / 0.5894 GB, free: 45.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009864/0.7877, allocations: 0.7962 MB / 0.5902 GB, free: 44.95 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007137/0.7949, allocations: 4.221 MB / 0.5943 GB, free: 40.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.7949, allocations: 40 kB / 0.5944 GB, free: 40.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.7949, allocations: 16 kB / 0.5944 GB, free: 40.62 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.7949, allocations: 23.86 kB / 0.5944 GB, free: 40.6 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.8145, allocations: 14.13 MB / 0.6082 GB, free: 26.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.8145, allocations: 16.06 kB / 0.6082 GB, free: 26.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.816, allocations: 0.55 MB / 0.6088 GB, free: 25.53 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/0.8212, allocations: 1.893 MB / 0.6106 GB, free: 23.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.8214, allocations: 84 kB / 0.6107 GB, free: 23.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008679/0.8301, allocations: 6.985 MB / 0.6175 GB, free: 16.45 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8301, allocations: 23.88 kB / 0.6175 GB, free: 16.43 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.8388, allocations: 6.152 MB / 0.6236 GB, free: 9.891 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.84, allocations: 0.6983 MB / 0.6242 GB, free: 9.188 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005861/0.8406, allocations: 91.95 kB / 0.6243 GB, free: 9.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.8423, allocations: 95.97 kB / 0.6244 GB, free: 9.004 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/0.8427, allocations: 314.1 kB / 0.6247 GB, free: 8.695 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/0.8429, allocations: 88 kB / 0.6248 GB, free: 8.609 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002379/0.8453, allocations: 2.782 MB / 0.6275 GB, free: 5.852 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.8453, allocations: 0 / 0.6275 GB, free: 5.852 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.1532/0.9985, allocations: 2.556 MB / 0.63 GB, free: 114.3 MB / 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 (317): * Single equations (assignments): 313 * 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.0007441/0.9992, allocations: 307.5 kB / 0.6303 GB, free: 114.2 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00692/1.006, allocations: 5.378 MB / 0.6356 GB, free: 113.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.006, allocations: 3.594 kB / 0.6356 GB, free: 113.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.008, allocations: 1.882 MB / 0.6374 GB, free: 113.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.012, allocations: 1.026 MB / 0.6384 GB, free: 113.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.031, allocations: 16.91 MB / 0.6549 GB, free: 106.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.033, allocations: 2.723 MB / 0.6576 GB, free: 106.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002472/1.035, allocations: 0.9004 MB / 0.6584 GB, free: 106.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/1.037, allocations: 1.207 MB / 0.6596 GB, free: 106.1 MB / 410.8 MB Notification: Performance of SimCode: time 2.174e-06/1.037, allocations: 0.875 kB / 0.6596 GB, free: 106.1 MB / 410.8 MB Notification: Performance of Templates: time 0.1105/1.148, allocations: 105.3 MB / 0.7625 GB, free: 9.504 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 6.1363077918067575]