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.001464/0.001464, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001672/0.001672, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.463/1.463, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.283e-06/1.283e-06, allocations: 0 / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.375e-05, allocations: 6.25 kB / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1366/0.1366, allocations: 20.11 MB / 292.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1524, allocations: 6.832 MB / 299.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.1567, allocations: 211.8 kB / 299.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.1695, allocations: 8.241 MB / 307.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007846/0.1773, allocations: 3.78 MB / 311.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.1812, allocations: 2.309 MB / 313.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.1992, allocations: 15.72 MB / 329.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01622/0.2154, allocations: 9.742 MB / 339.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01548/0.2309, allocations: 6.597 MB / 345.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.2433, allocations: 6.52 MB / 352.3 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003349/0.2466, allocations: 1.051 MB / 353.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.2529, allocations: 2.146 MB / 355.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00865/0.2615, allocations: 5.456 MB / 361 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009053/0.2706, allocations: 3.468 MB / 364.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02701/0.2976, allocations: 17.86 MB / 382.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2976, allocations: 0 / 382.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2976, allocations: 0 / 382.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004939/0.2981, allocations: 0 / 382.3 MB, free: 2.59 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.03291/0.331, allocations: 11.74 MB / 394 MB, free: 6.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3311, allocations: 15.98 kB / 394 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04771/0.3788, allocations: 6.542 MB / 400.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/0.4044, allocations: 8.757 MB / 409.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006793/0.4051, allocations: 0.5179 MB / 409.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/0.4081, allocations: 0.7345 MB / 410.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0498/0.4579, allocations: 20.18 MB / 430.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000404/0.4583, allocations: 99.28 kB / 430.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/0.4603, allocations: 327.8 kB / 431.2 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.247/0.7073, allocations: 2.841 MB / 434 MB, free: 113.1 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0335/0.7408, allocations: 16.54 MB / 450.6 MB, free: 108 MB / 378.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.08141/0.8222, allocations: 69.06 MB / 0.5075 GB, free: 38.9 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/0.8429, allocations: 7.775 MB / 0.515 GB, free: 31.14 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005133/0.848, allocations: 4.665 MB / 0.5196 GB, free: 26.45 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/0.8687, allocations: 13.98 MB / 0.5333 GB, free: 12.66 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.8687, allocations: 76.64 kB / 0.5333 GB, free: 12.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=327): time 5.901e-06/0.8687, allocations: 4 kB / 0.5333 GB, free: 12.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=439): time 0.3736/1.242, allocations: 81.9 MB / 0.6133 GB, free: 123.1 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.243, allocations: 413.8 kB / 0.6137 GB, free: 122.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009795/1.252, allocations: 7.71 MB / 0.6212 GB, free: 116.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001162/1.253, allocations: 90.88 kB / 0.6213 GB, free: 116.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.256, allocations: 5.703 MB / 0.6269 GB, free: 111.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.258, allocations: 1.638 MB / 0.6285 GB, free: 109.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/1.261, allocations: 2.068 MB / 0.6305 GB, free: 107.4 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/1.261, allocations: 305.1 kB / 0.6308 GB, free: 107.1 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007153/1.268, allocations: 6.114 MB / 0.6368 GB, free: 100.9 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009079/1.277, allocations: 11.26 MB / 0.6478 GB, free: 87.28 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/1.295, allocations: 17.99 MB / 0.6653 GB, free: 66.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.295, allocations: 48 kB / 0.6654 GB, free: 66.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=1318) (initialization): time 0.04762/1.343, allocations: 26.18 MB / 0.691 GB, free: 40.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/1.343, allocations: 79.44 kB / 0.691 GB, free: 40.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.343, allocations: 164 kB / 0.6912 GB, free: 40.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03193/1.375, allocations: 11.2 MB / 0.7021 GB, free: 29.28 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006834/1.382, allocations: 2.191 MB / 0.7043 GB, free: 27.08 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1977/1.579, allocations: 43.54 MB / 0.7468 GB, free: 106.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009246/1.589, allocations: 0.867 MB / 0.7476 GB, free: 106.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.59, allocations: 0.5314 MB / 0.7481 GB, free: 106.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * 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 (1156): * Single equations (assignments): 1151 * 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 {(3,134,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005863/1.596, allocations: 4.078 MB / 0.7521 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/1.598, allocations: 0.807 MB / 0.7529 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03628/1.634, allocations: 19.12 MB / 0.7716 GB, free: 97.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-05/1.634, allocations: 44 kB / 0.7716 GB, free: 97.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-05/1.634, allocations: 29.48 kB / 0.7717 GB, free: 97.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.502e-05/1.634, allocations: 15.94 kB / 0.7717 GB, free: 97.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.059/1.693, allocations: 32.54 MB / 0.8035 GB, free: 65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-05/1.693, allocations: 15.75 kB / 0.8035 GB, free: 64.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/1.697, allocations: 0.7338 MB / 0.8042 GB, free: 64.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03176/1.728, allocations: 10.85 MB / 0.8148 GB, free: 53.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/1.729, allocations: 83.52 kB / 0.8149 GB, free: 53.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05019/1.78, allocations: 39.98 MB / 0.8539 GB, free: 13.56 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.78, allocations: 11.94 kB / 0.8539 GB, free: 13.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1965/1.976, allocations: 27.36 MB / 0.8806 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.978, allocations: 0.7471 MB / 0.8814 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/1.98, allocations: 85.39 kB / 0.8814 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/1.985, allocations: 0.5719 MB / 0.882 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.986, allocations: 337.9 kB / 0.8823 GB, free: 127.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004179/1.987, allocations: 119.5 kB / 0.8824 GB, free: 127.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006021/1.993, allocations: 4.781 MB / 0.8871 GB, free: 126.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.41e-07/1.993, allocations: 0 / 0.8871 GB, free: 126.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0126/2.005, allocations: 2.875 MB / 0.8899 GB, free: 126 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (302): * Single equations (assignments): 298 * 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 {(3,121,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/2.006, allocations: 303.7 kB / 0.8902 GB, free: 125.9 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02/2.026, allocations: 14.03 MB / 0.9039 GB, free: 120.5 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/2.026, allocations: 3.531 kB / 0.9039 GB, free: 120.5 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009331/2.036, allocations: 5.944 MB / 0.9097 GB, free: 118.1 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009962/2.046, allocations: 1.057 MB / 0.9107 GB, free: 117.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05269/2.098, allocations: 23.41 MB / 0.9336 GB, free: 98.44 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009312/2.108, allocations: 5.948 MB / 0.9394 GB, free: 93.54 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.007572/2.115, allocations: 2.94 MB / 0.9423 GB, free: 90.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/2.117, allocations: 432.4 kB / 0.9427 GB, free: 90.31 MB / 426.8 MB Notification: Performance of SimCode: time 1.343e-06/2.117, allocations: 3.172 kB / 0.9427 GB, free: 90.31 MB / 426.8 MB Notification: Performance of Templates: time 0.2994/2.417, allocations: 125 MB / 1.065 GB, free: 107 MB / 426.8 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 9.854058458004147]