Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.000894/0.000894, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003702/0.003702, allocations: 162.5 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8205/0.8205, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.696e-05, allocations: 4.531 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01129/0.0113, allocations: 16.75 MB / 342.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008876/0.02018, allocations: 5.802 MB / 348.4 MB, free: 8.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.02212, allocations: 198.9 kB / 348.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004973/0.02709, allocations: 5.973 MB / 354.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.03145, allocations: 3.522 MB / 358.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.03335, allocations: 1.79 MB / 359.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.04337, allocations: 14.8 MB / 374.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005927/0.0493, allocations: 7.459 MB / 382.1 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005395/0.05469, allocations: 5.539 MB / 387.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.05944, allocations: 5.62 MB / 393.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006675/0.0601, allocations: 0.7422 MB / 394 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.06185, allocations: 1.67 MB / 395.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.06434, allocations: 4.547 MB / 400.3 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.06618, allocations: 2.785 MB / 403.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.07501, allocations: 14.01 MB / 417.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.07502, allocations: 0 / 417.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.07502, allocations: 0 / 417.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001845/0.0752, allocations: 4 kB / 417.1 MB, free: 3.879 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.0128/0.088, allocations: 10.1 MB / 427.2 MB, free: 9.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.08804, allocations: 12.03 kB / 427.2 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/0.108, allocations: 5.519 MB / 432.7 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.1186, allocations: 7.744 MB / 440.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.1188, allocations: 427.4 kB / 440.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006472/0.1194, allocations: 0.5781 MB / 441.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.277/0.3964, allocations: 16.83 MB / 458.3 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.3966, allocations: 105.5 kB / 458.4 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.397, allocations: 265 kB / 458.6 MB, free: 102.9 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002185/0.3992, allocations: 2.766 MB / 461.4 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.4138, allocations: 13.61 MB / 475 MB, free: 94.14 MB / 410.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.04171/0.4555, allocations: 62.76 MB / 0.5252 GB, free: 31.01 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/0.4653, allocations: 7.474 MB / 0.5325 GB, free: 23.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.4681, allocations: 4.246 MB / 0.5366 GB, free: 19.3 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009522/0.4777, allocations: 11.16 MB / 0.5475 GB, free: 8.289 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4777, allocations: 68.5 kB / 0.5476 GB, free: 8.215 MB / 410.8 MB Notification: Performance of pre-optimization done (n=280): time 4.589e-06/0.4777, allocations: 0 / 0.5476 GB, free: 8.215 MB / 410.8 MB Notification: Performance of matching and sorting (n=339): time 0.09401/0.5717, allocations: 52.45 MB / 0.5988 GB, free: 4.344 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.5718, allocations: 398.1 kB / 0.5992 GB, free: 3.867 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/0.5785, allocations: 7.275 MB / 0.6063 GB, free: 12.79 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.5788, allocations: 77.7 kB / 0.6063 GB, free: 12.71 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00246/0.5812, allocations: 5.192 MB / 0.6114 GB, free: 7.625 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008918/0.5821, allocations: 1.302 MB / 0.6127 GB, free: 6.312 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.5838, allocations: 1.853 MB / 0.6145 GB, free: 4.445 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.5839, allocations: 305.1 kB / 0.6148 GB, free: 4.145 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1465/0.7304, allocations: 4.541 MB / 0.6192 GB, free: 155.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006708/0.7371, allocations: 9.496 MB / 0.6285 GB, free: 148.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009575/0.7467, allocations: 14.53 MB / 0.6427 GB, free: 138 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.7468, allocations: 46.28 kB / 0.6427 GB, free: 138 MB / 474.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02001/0.7668, allocations: 19.66 MB / 0.6619 GB, free: 128.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.7668, allocations: 80 kB / 0.662 GB, free: 128 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.7669, allocations: 164 kB / 0.6622 GB, free: 127.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00989/0.7768, allocations: 7.049 MB / 0.669 GB, free: 121.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.7798, allocations: 1.922 MB / 0.6709 GB, free: 119.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0245/0.8043, allocations: 34.59 MB / 0.7047 GB, free: 84.72 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005542/0.8099, allocations: 0.6913 MB / 0.7054 GB, free: 84.05 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/0.8104, allocations: 0.4894 MB / 0.7059 GB, free: 83.56 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.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 (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00363/0.814, allocations: 3.469 MB / 0.7092 GB, free: 80.18 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006857/0.8147, allocations: 0.6204 MB / 0.7098 GB, free: 79.91 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.8283, allocations: 13.19 MB / 0.7227 GB, free: 66.64 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.8284, allocations: 40 kB / 0.7228 GB, free: 66.61 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.8284, allocations: 20 kB / 0.7228 GB, free: 66.59 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.8284, allocations: 17.91 kB / 0.7228 GB, free: 66.57 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/0.8529, allocations: 24.35 MB / 0.7466 GB, free: 41.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.8529, allocations: 12.03 kB / 0.7466 GB, free: 41.91 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.8538, allocations: 419.3 kB / 0.747 GB, free: 41.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009516/0.8634, allocations: 6.644 MB / 0.7535 GB, free: 34.85 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003355/0.8637, allocations: 66.72 kB / 0.7535 GB, free: 34.79 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/0.8878, allocations: 33.32 MB / 0.7861 GB, free: 1.398 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8878, allocations: 8 kB / 0.7861 GB, free: 1.391 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1733/1.061, allocations: 18.67 MB / 0.8043 GB, free: 155.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.063, allocations: 0.6809 MB / 0.805 GB, free: 155.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005393/1.063, allocations: 60.38 kB / 0.805 GB, free: 155.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.065, allocations: 412.3 kB / 0.8054 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/1.066, allocations: 254 kB / 0.8057 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.066, allocations: 92.09 kB / 0.8058 GB, free: 155.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003799/1.07, allocations: 4.509 MB / 0.8102 GB, free: 153.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.07, allocations: 0.7188 kB / 0.8102 GB, free: 153.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005104/1.075, allocations: 2.406 MB / 0.8125 GB, free: 153.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/1.075, allocations: 231 kB / 0.8127 GB, free: 153.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009451/1.085, allocations: 11.09 MB / 0.8236 GB, free: 148.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.085, allocations: 4 kB / 0.8236 GB, free: 148.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004025/1.089, allocations: 4.661 MB / 0.8281 GB, free: 144.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.092, allocations: 0.9055 MB / 0.829 GB, free: 144.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.111, allocations: 20.53 MB / 0.8491 GB, free: 125.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.114, allocations: 4.986 MB / 0.8539 GB, free: 120.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.116, allocations: 444.2 kB / 0.8544 GB, free: 119.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.212e-06/1.116, allocations: 0 / 0.8544 GB, free: 119.6 MB / 490.8 MB Notification: Performance of Templates: time 0.2851/1.401, allocations: 210.1 MB / 1.06 GB, free: 81.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 13.300273935310543]