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.0009938/0.0009938, 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.001151/0.001151, allocations: 166.1 kB / 24.82 MB, free: 9.258 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.9809/0.9809, allocations: 177 MB / 205.1 MB, free: 5.492 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.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.437e-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.Engine1b_analytic): time 0.123/0.1231, allocations: 21.82 MB / 295.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1353, allocations: 6.934 MB / 302.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/0.1394, allocations: 216.8 kB / 302.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008705/0.1481, allocations: 8.387 MB / 310.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.1571, allocations: 3.792 MB / 314.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.1614, allocations: 2.305 MB / 316.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.1781, allocations: 15.73 MB / 332.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.1938, allocations: 9.777 MB / 342.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02844/0.2223, allocations: 9.566 MB / 351.9 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009908/0.2322, allocations: 6.712 MB / 358.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002705/0.2349, allocations: 1.035 MB / 359.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004706/0.2396, allocations: 2.131 MB / 361.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004763/0.2443, allocations: 5.479 MB / 367.2 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.2554, allocations: 3.468 MB / 370.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.2691, allocations: 10.68 MB / 381.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2691, allocations: 0 / 381.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2691, allocations: 3.938 kB / 381.4 MB, free: 4.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005277/0.2696, allocations: 0 / 381.4 MB, free: 4.82 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.01865/0.2883, allocations: 11.47 MB / 392.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2883, allocations: 11.98 kB / 392.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/0.3086, allocations: 5.275 MB / 398.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.3195, allocations: 6.16 MB / 404.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.3199, allocations: 0.5218 MB / 404.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.3221, allocations: 0.7345 MB / 405.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.3412, allocations: 10.59 MB / 416.2 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/0.3415, allocations: 87.33 kB / 416.3 MB, free: 240 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00082/0.3423, allocations: 319.9 kB / 416.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.3444, allocations: 2.622 MB / 419.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3557, allocations: 4.739 MB / 423.9 MB, free: 8.523 MB / 378.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.2922/0.6479, allocations: 73.37 MB / 497.3 MB, free: 56.68 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009107/0.657, allocations: 3.757 MB / 0.4893 GB, free: 55.32 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.6591, allocations: 1.083 MB / 0.4904 GB, free: 55.04 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.6754, allocations: 9.106 MB / 0.4993 GB, free: 47.85 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.6755, allocations: 75 kB / 0.4993 GB, free: 47.77 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 8.556e-06/0.6755, allocations: 0 / 0.4993 GB, free: 47.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.08586/0.7614, allocations: 29.59 MB / 0.5282 GB, free: 19.02 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.7614, allocations: 406.6 kB / 0.5286 GB, free: 18.54 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/0.7678, allocations: 6.407 MB / 0.5349 GB, free: 12.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007823/0.7686, allocations: 89.69 kB / 0.535 GB, free: 12.41 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.7711, allocations: 6.144 MB / 0.541 GB, free: 6.82 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/0.7727, allocations: 1.585 MB / 0.5425 GB, free: 5.223 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/0.7748, allocations: 2.169 MB / 0.5446 GB, free: 3.039 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.7748, allocations: 480.7 kB / 0.5451 GB, free: 2.566 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.7771, allocations: 1.354 MB / 0.5464 GB, free: 1.211 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007377/0.7844, allocations: 9.004 MB / 0.5552 GB, free: 4.918 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.7962, allocations: 10.87 MB / 0.5658 GB, free: 6.863 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/0.7964, allocations: 52 kB / 0.5659 GB, free: 6.812 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.1705/0.9669, allocations: 9.317 MB / 0.575 GB, free: 122.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.9671, allocations: 82.16 kB / 0.5751 GB, free: 122.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003795/0.9675, allocations: 169.5 kB / 0.5752 GB, free: 122.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007506/0.975, allocations: 2.14 MB / 0.5773 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/0.9803, allocations: 2.109 MB / 0.5794 GB, free: 122.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.9914, allocations: 7.789 MB / 0.587 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006069/0.9975, allocations: 398.1 kB / 0.5874 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.9987, allocations: 459 kB / 0.5878 GB, free: 120 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.002969/1.002, allocations: 0.9229 MB / 0.5887 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/1.003, allocations: 0.8018 MB / 0.5895 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/1.011, allocations: 4.217 MB / 0.5936 GB, free: 119.4 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/1.011, allocations: 42.95 kB / 0.5936 GB, free: 119.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.011, allocations: 18.59 kB / 0.5936 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/1.011, allocations: 20.12 kB / 0.5937 GB, free: 119.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.037, allocations: 14.13 MB / 0.6075 GB, free: 114.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.037, allocations: 12 kB / 0.6075 GB, free: 114.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.038, allocations: 0.5461 MB / 0.608 GB, free: 113.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/1.044, allocations: 1.887 MB / 0.6099 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.044, allocations: 84 kB / 0.6099 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009667/1.054, allocations: 7.008 MB / 0.6168 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.054, allocations: 19.94 kB / 0.6168 GB, free: 104.9 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.064, allocations: 6.163 MB / 0.6228 GB, free: 98.42 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.067, allocations: 0.702 MB / 0.6235 GB, free: 97.73 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.068, allocations: 83.98 kB / 0.6236 GB, free: 97.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.07, allocations: 95.98 kB / 0.6237 GB, free: 97.55 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/1.071, allocations: 310 kB / 0.624 GB, free: 97.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.071, allocations: 95.98 kB / 0.6241 GB, free: 97.15 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003322/1.074, allocations: 2.783 MB / 0.6268 GB, free: 94.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.074, allocations: 0 / 0.6268 GB, free: 94.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008884/1.083, allocations: 2.558 MB / 0.6293 GB, free: 92.12 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.001025/1.084, allocations: 320.5 kB / 0.6296 GB, free: 91.83 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007515/1.092, allocations: 5.373 MB / 0.6348 GB, free: 86.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.092, allocations: 5.5 kB / 0.6348 GB, free: 86.56 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002998/1.095, allocations: 1.866 MB / 0.6367 GB, free: 84.71 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005253/1.1, allocations: 1.049 MB / 0.6377 GB, free: 83.72 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/1.124, allocations: 16.91 MB / 0.6542 GB, free: 66.46 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.127, allocations: 2.72 MB / 0.6569 GB, free: 63.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003444/1.131, allocations: 0.9052 MB / 0.6577 GB, free: 62.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/1.133, allocations: 1.205 MB / 0.6589 GB, free: 61.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.412e-06/1.133, allocations: 0 / 0.6589 GB, free: 61.6 MB / 410.8 MB Notification: Performance of Templates: time 0.2588/1.391, allocations: 103.1 MB / 0.7596 GB, free: 120.2 MB / 426.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: 5.728381012100726]