Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.00136/0.00136, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001646/0.001646, allocations: 166.1 kB / 25.6 MB, free: 8.598 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.8969/0.8969, allocations: 158.6 MB / 187.5 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.66e-05, allocations: 2.312 kB / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01488/0.01491, allocations: 19.34 MB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009968/0.02488, allocations: 6.106 MB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.0263, allocations: 206.8 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005741/0.03204, allocations: 6.74 MB / 283.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.03604, allocations: 3.697 MB / 287.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.03817, allocations: 1.93 MB / 289.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008574/0.04674, allocations: 13.57 MB / 303.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005911/0.05265, allocations: 8.106 MB / 311.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.05885, allocations: 7.642 MB / 318.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.06343, allocations: 5.951 MB / 324.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.06453, allocations: 0.7891 MB / 325.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.06643, allocations: 1.709 MB / 327.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.069, allocations: 4.844 MB / 332.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.0713, allocations: 2.965 MB / 335.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006665/0.07797, allocations: 9.394 MB / 344.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.07797, allocations: 0 / 344.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.07797, allocations: 3.938 kB / 344.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.559e-05/0.07805, allocations: 4 kB / 344.5 MB, free: 9.879 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: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.2225/0.3005, allocations: 10.36 MB / 354.9 MB, free: 94.82 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3006, allocations: 14.42 kB / 354.9 MB, free: 94.82 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/0.3188, allocations: 5.091 MB / 360 MB, free: 94.32 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007098/0.3259, allocations: 5.609 MB / 365.6 MB, free: 91.77 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.326, allocations: 446.9 kB / 366 MB, free: 91.38 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.3266, allocations: 0.6136 MB / 366.6 MB, free: 90.83 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008781/0.3354, allocations: 9.635 MB / 376.3 MB, free: 80.41 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.3355, allocations: 89.05 kB / 376.3 MB, free: 80.33 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.3359, allocations: 284.3 kB / 376.6 MB, free: 80.11 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/0.3375, allocations: 2.615 MB / 379.2 MB, free: 77.5 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.3434, allocations: 4.192 MB / 383.4 MB, free: 73.33 MB / 330.8 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.03705/0.3805, allocations: 70.75 MB / 454.2 MB, free: 1.562 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/0.3889, allocations: 3.305 MB / 457.5 MB, free: 14.22 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.3904, allocations: 0.9198 MB / 458.4 MB, free: 13.29 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.4022, allocations: 7.125 MB / 465.5 MB, free: 6.301 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.4023, allocations: 63.39 kB / 465.6 MB, free: 6.23 MB / 346.8 MB Notification: Performance of pre-optimization done (n=262): time 5.44e-06/0.4023, allocations: 0 / 465.6 MB, free: 6.23 MB / 346.8 MB Notification: Performance of matching and sorting (n=317): time 0.09424/0.4965, allocations: 17.38 MB / 483 MB, free: 5.25 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.4967, allocations: 397.9 kB / 483.4 MB, free: 4.773 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01461/0.5113, allocations: 6.329 MB / 489.7 MB, free: 14.46 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.5116, allocations: 73.7 kB / 489.8 MB, free: 14.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/0.5146, allocations: 5.81 MB / 495.6 MB, free: 8.523 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009937/0.5156, allocations: 1.279 MB / 496.8 MB, free: 7.238 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/0.5173, allocations: 2.021 MB / 498.9 MB, free: 5.199 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5174, allocations: 480.7 kB / 499.3 MB, free: 4.727 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.519, allocations: 0.9355 MB / 0.4885 GB, free: 3.785 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1279/0.6468, allocations: 8.65 MB / 0.497 GB, free: 114.4 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006036/0.6529, allocations: 10.18 MB / 0.5069 GB, free: 104.6 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.751e-05/0.6529, allocations: 54.16 kB / 0.507 GB, free: 104.6 MB / 378.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.008791/0.6617, allocations: 7.612 MB / 0.5144 GB, free: 103.1 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.6618, allocations: 77.56 kB / 0.5145 GB, free: 103.1 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.6619, allocations: 176.2 kB / 0.5147 GB, free: 103.1 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.664, allocations: 1.077 MB / 0.5157 GB, free: 103.1 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/0.6672, allocations: 2.023 MB / 0.5177 GB, free: 102.9 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.6723, allocations: 6.62 MB / 0.5241 GB, free: 99.07 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.6763, allocations: 386.1 kB / 0.5245 GB, free: 99.06 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/0.6777, allocations: 444.8 kB / 0.5249 GB, free: 99.06 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.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 (1133): * Single equations (assignments): 1128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,46,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00285/0.6805, allocations: 0.8938 MB / 0.5258 GB, free: 98.62 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.6819, allocations: 0.7298 MB / 0.5265 GB, free: 98.29 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.6849, allocations: 2.417 MB / 0.5289 GB, free: 96.9 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.6849, allocations: 32 kB / 0.5289 GB, free: 96.87 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.685, allocations: 11.94 kB / 0.5289 GB, free: 96.86 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.685, allocations: 18.88 kB / 0.5289 GB, free: 96.86 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.6987, allocations: 10.56 MB / 0.5393 GB, free: 88.97 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.6987, allocations: 20.22 kB / 0.5393 GB, free: 88.95 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/0.6996, allocations: 480.1 kB / 0.5397 GB, free: 88.54 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.7014, allocations: 0.812 MB / 0.5405 GB, free: 87.95 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.7015, allocations: 80 kB / 0.5406 GB, free: 87.87 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.7058, allocations: 6.009 MB / 0.5465 GB, free: 82.08 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.7058, allocations: 31.88 kB / 0.5465 GB, free: 82.05 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.7112, allocations: 4.536 MB / 0.5509 GB, free: 77.21 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/0.7134, allocations: 0.937 MB / 0.5518 GB, free: 76.27 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/0.7141, allocations: 83.98 kB / 0.5519 GB, free: 76.19 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.7155, allocations: 87.36 kB / 0.552 GB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.7159, allocations: 285 kB / 0.5523 GB, free: 75.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.716, allocations: 96 kB / 0.5524 GB, free: 75.74 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002748/0.7187, allocations: 2.77 MB / 0.5551 GB, free: 72.99 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7187, allocations: 0 / 0.5551 GB, free: 72.99 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.008628/0.7273, allocations: 2.104 MB / 0.5571 GB, free: 70.89 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 98 * 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 (265): * Single equations (assignments): 260 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,40,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009403/0.7283, allocations: 278.9 kB / 0.5574 GB, free: 70.63 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006395/0.7347, allocations: 4.556 MB / 0.5618 GB, free: 66.05 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/0.7347, allocations: 4 kB / 0.5619 GB, free: 66.05 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.7361, allocations: 1.501 MB / 0.5633 GB, free: 64.52 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/0.7414, allocations: 1.01 MB / 0.5643 GB, free: 63.53 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.7632, allocations: 15.05 MB / 0.579 GB, free: 47.98 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.7662, allocations: 2.407 MB / 0.5814 GB, free: 45.54 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003046/0.7693, allocations: 0.8625 MB / 0.5822 GB, free: 44.68 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/0.7714, allocations: 1.142 MB / 0.5833 GB, free: 43.53 MB / 378.8 MB Notification: Performance of SimCode: time 1.392e-06/0.7714, allocations: 0 / 0.5833 GB, free: 43.53 MB / 378.8 MB Notification: Performance of Templates: time 0.218/0.9894, allocations: 71.68 MB / 0.6533 GB, free: 117.9 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_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/Engine1b.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.130107642151415]