Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001367/0.001367, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001676/0.001676, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9489/0.9489, allocations: 177 MB / 205.1 MB, free: 5.469 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.013e-05, allocations: 5.266 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1176/0.1176, allocations: 18.18 MB / 291.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.1269, allocations: 5.877 MB / 297.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.1295, allocations: 191.6 kB / 297.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006352/0.1358, allocations: 6.184 MB / 303.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.1432, allocations: 3.532 MB / 307.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.1459, allocations: 1.819 MB / 309.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.1574, allocations: 14.81 MB / 323.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008049/0.1654, allocations: 7.726 MB / 331.7 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.1763, allocations: 8.411 MB / 340.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006573/0.1829, allocations: 5.721 MB / 345.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.1847, allocations: 0.75 MB / 346.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.1877, allocations: 1.666 MB / 348.2 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004262/0.192, allocations: 4.598 MB / 352.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00528/0.1973, allocations: 2.813 MB / 355.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.2074, allocations: 8.974 MB / 364.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2074, allocations: 0 / 364.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2074, allocations: 0 / 364.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003737/0.2078, allocations: 0 / 364.6 MB, free: 5.645 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01698/0.2248, allocations: 9.926 MB / 374.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2248, allocations: 11.98 kB / 374.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05568/0.2805, allocations: 5.022 MB / 379.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02409/0.3046, allocations: 5.318 MB / 384.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.3049, allocations: 437.5 kB / 385.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.306, allocations: 0.5859 MB / 385.9 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.3196, allocations: 9.297 MB / 395.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.3198, allocations: 91.27 kB / 395.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004894/0.3203, allocations: 263.8 kB / 395.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/0.3224, allocations: 2.51 MB / 398.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008682/0.331, allocations: 4.058 MB / 402.1 MB, free: 14.45 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.255/0.586, allocations: 69.56 MB / 471.7 MB, free: 60.62 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008169/0.5942, allocations: 3.226 MB / 474.9 MB, free: 60.45 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.5955, allocations: 0.916 MB / 475.8 MB, free: 60.39 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009753/0.6053, allocations: 6.944 MB / 482.8 MB, free: 59.04 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6053, allocations: 66.02 kB / 482.8 MB, free: 58.98 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 5.04e-06/0.6053, allocations: 0 / 482.8 MB, free: 58.98 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.04497/0.6503, allocations: 17.55 MB / 0.4886 GB, free: 50.17 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.6504, allocations: 393.8 kB / 0.489 GB, free: 49.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.656, allocations: 6.131 MB / 0.495 GB, free: 44.79 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005468/0.6566, allocations: 73.7 kB / 0.4951 GB, free: 44.71 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.6588, allocations: 5.616 MB / 0.5006 GB, free: 39.59 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.6599, allocations: 1.213 MB / 0.5017 GB, free: 38.37 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/0.6615, allocations: 1.977 MB / 0.5037 GB, free: 36.37 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.6615, allocations: 480.7 kB / 0.5041 GB, free: 35.9 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.6628, allocations: 0.9233 MB / 0.505 GB, free: 34.97 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/0.6658, allocations: 8.614 MB / 0.5135 GB, free: 23 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005061/0.6708, allocations: 10.09 MB / 0.5233 GB, free: 10.01 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.749e-05/0.6709, allocations: 48 kB / 0.5233 GB, free: 9.965 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01031/0.6812, allocations: 7.627 MB / 0.5308 GB, free: 2.273 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.6813, allocations: 88 kB / 0.5309 GB, free: 2.188 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.6814, allocations: 172 kB / 0.531 GB, free: 2.02 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.6841, allocations: 1.26 MB / 0.5323 GB, free: 0.7422 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.6874, allocations: 1.981 MB / 0.5342 GB, free: 14.76 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.6939, allocations: 6.734 MB / 0.5408 GB, free: 7.789 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/0.6988, allocations: 375.7 kB / 0.5411 GB, free: 7.422 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/0.6995, allocations: 437.7 kB / 0.5416 GB, free: 6.996 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * 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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002105/0.7016, allocations: 0.8809 MB / 0.5424 GB, free: 6.105 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/0.7028, allocations: 0.7068 MB / 0.5431 GB, free: 5.395 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.7065, allocations: 2.489 MB / 0.5455 GB, free: 2.867 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.7065, allocations: 28 kB / 0.5456 GB, free: 2.84 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.7065, allocations: 12 kB / 0.5456 GB, free: 2.828 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.7065, allocations: 15.95 kB / 0.5456 GB, free: 2.812 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.7226, allocations: 10.57 MB / 0.5559 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.7226, allocations: 24.03 kB / 0.5559 GB, free: 7.789 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.7237, allocations: 435.3 kB / 0.5564 GB, free: 7.363 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/0.7265, allocations: 1.017 MB / 0.5574 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.7267, allocations: 79.98 kB / 0.5574 GB, free: 6.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005471/0.7321, allocations: 5.791 MB / 0.5631 GB, free: 228 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/0.7321, allocations: 31.88 kB / 0.5631 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/0.7382, allocations: 4.57 MB / 0.5676 GB, free: 11.11 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.7399, allocations: 0.6557 MB / 0.5682 GB, free: 10.45 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005976/0.7405, allocations: 75.98 kB / 0.5683 GB, free: 10.37 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.7419, allocations: 79.98 kB / 0.5684 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/0.7423, allocations: 272.6 kB / 0.5686 GB, free: 10.03 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.7424, allocations: 83.98 kB / 0.5687 GB, free: 9.949 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003187/0.7456, allocations: 2.648 MB / 0.5713 GB, free: 7.316 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.7456, allocations: 0 / 0.5713 GB, free: 7.316 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007035/0.7526, allocations: 2.023 MB / 0.5733 GB, free: 5.289 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005561/0.7532, allocations: 250.5 kB / 0.5735 GB, free: 5.035 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006851/0.7601, allocations: 4.6 MB / 0.578 GB, free: 404 kB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/0.7601, allocations: 4 kB / 0.578 GB, free: 400 kB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1188/0.8789, allocations: 1.586 MB / 0.5796 GB, free: 145.6 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/0.8829, allocations: 0.9736 MB / 0.5805 GB, free: 145.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.9012, allocations: 14.28 MB / 0.5945 GB, free: 139.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/0.9039, allocations: 2.291 MB / 0.5967 GB, free: 139.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00247/0.9063, allocations: 0.8286 MB / 0.5975 GB, free: 139 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.9078, allocations: 1.09 MB / 0.5986 GB, free: 138.9 MB / 426.8 MB Notification: Performance of SimCode: time 2.034e-06/0.9078, allocations: 0 / 0.5986 GB, free: 138.9 MB / 426.8 MB Notification: Performance of Templates: time 0.09382/1.002, allocations: 69.57 MB / 0.6665 GB, free: 78.68 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.077170527074486]