Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 105.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 192 kB / 19.29 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 55.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08515, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01871/0.1039, allocations: 19.49 MB / 348.2 MB, free: 188 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1161, allocations: 6.009 MB / 354.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.1194, allocations: 155.4 kB / 354.4 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.1298, allocations: 5.845 MB / 360.2 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.1382, allocations: 3.361 MB / 363.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.1415, allocations: 1.58 MB / 365.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0153/0.1569, allocations: 11.37 MB / 376.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1721/0.329, allocations: 7.678 MB / 384.2 MB, free: 16.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006501/0.3355, allocations: 3.578 MB / 387.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008267/0.3438, allocations: 4.771 MB / 392.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002815/0.3467, allocations: 0.7127 MB / 393.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007281/0.354, allocations: 1.666 MB / 394.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007004/0.361, allocations: 4.232 MB / 399.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009083/0.3701, allocations: 4.479 MB / 403.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.3856, allocations: 13.68 MB / 417.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3856, allocations: 3.906 kB / 417.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3856, allocations: 0 / 417.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003827/0.386, allocations: 0 / 417.3 MB, free: 5.879 MB / 318.1 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.0216/0.4076, allocations: 9.691 MB / 427 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4077, allocations: 12.03 kB / 427 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03951/0.4472, allocations: 5.237 MB / 432.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/0.4669, allocations: 8.363 MB / 440.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.4672, allocations: 428.4 kB / 441.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.4692, allocations: 0.5838 MB / 441.6 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/0.4978, allocations: 16.56 MB / 458.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.4981, allocations: 97.61 kB / 458.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009028/0.499, allocations: 264.6 kB / 458.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004006/0.503, allocations: 2.763 MB / 461.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.53, allocations: 13.63 MB / 474.9 MB, free: 14.31 MB / 382.1 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.09118/0.6212, allocations: 67.65 MB / 0.5299 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/0.6413, allocations: 7.892 MB / 0.5376 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1629/0.8042, allocations: 4.503 MB / 0.542 GB, free: 155 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/0.8268, allocations: 12.42 MB / 0.5541 GB, free: 149.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.8269, allocations: 78 kB / 0.5542 GB, free: 149.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=280): time 6.362e-06/0.8269, allocations: 0 / 0.5542 GB, free: 149.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1623/0.9892, allocations: 49.26 MB / 0.6023 GB, free: 118.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.9893, allocations: 398 kB / 0.6027 GB, free: 117.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.001, allocations: 7.191 MB / 0.6097 GB, free: 110.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008873/1.002, allocations: 77.7 kB / 0.6098 GB, free: 110.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002933/1.005, allocations: 5.024 MB / 0.6147 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.006, allocations: 1.266 MB / 0.6159 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002694/1.009, allocations: 1.86 MB / 0.6177 GB, free: 102.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.009, allocations: 313.1 kB / 0.618 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/1.015, allocations: 4.547 MB / 0.6225 GB, free: 97.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007792/1.023, allocations: 9.267 MB / 0.6315 GB, free: 85.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.037, allocations: 14.55 MB / 0.6457 GB, free: 68.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.038, allocations: 48 kB / 0.6458 GB, free: 68.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0388/1.076, allocations: 19.76 MB / 0.6651 GB, free: 49.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.077, allocations: 76 kB / 0.6651 GB, free: 49.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002858/1.077, allocations: 160.6 kB / 0.6653 GB, free: 48.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/1.096, allocations: 7.036 MB / 0.6722 GB, free: 41.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/1.102, allocations: 1.934 MB / 0.6741 GB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/1.331, allocations: 35.3 MB / 0.7085 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00859/1.34, allocations: 0.5864 MB / 0.7091 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.342, allocations: 0.4925 MB / 0.7096 GB, free: 127.4 MB / 446.1 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 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.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],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.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 (1049): * Single equations (assignments): 1043 * 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.007317/1.349, allocations: 3.497 MB / 0.713 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001805/1.351, allocations: 0.6324 MB / 0.7136 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02545/1.376, allocations: 13.33 MB / 0.7266 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/1.376, allocations: 34 kB / 0.7267 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/1.376, allocations: 19.28 kB / 0.7267 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/1.376, allocations: 20.58 kB / 0.7267 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05378/1.43, allocations: 26.6 MB / 0.7527 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/1.43, allocations: 7.781 kB / 0.7527 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.432, allocations: 420.3 kB / 0.7531 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01804/1.45, allocations: 6.646 MB / 0.7596 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007604/1.451, allocations: 63.98 kB / 0.7596 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03848/1.49, allocations: 34 MB / 0.7928 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.49, allocations: 11.94 kB / 0.7929 GB, free: 69.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03204/1.522, allocations: 18.76 MB / 0.8112 GB, free: 51.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004601/1.526, allocations: 1.385 MB / 0.8125 GB, free: 49.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002183/1.528, allocations: 62.7 kB / 0.8126 GB, free: 49.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004674/1.533, allocations: 309.8 kB / 0.8129 GB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/1.535, allocations: 247 kB / 0.8131 GB, free: 49.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006332/1.535, allocations: 87.98 kB / 0.8132 GB, free: 49.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008376/1.544, allocations: 4.609 MB / 0.8177 GB, free: 44.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.544, allocations: 2.156 kB / 0.8177 GB, free: 44.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01093/1.555, allocations: 2.143 MB / 0.8198 GB, free: 42.35 MB / 446.1 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 (215): * Single equations (assignments): 209 * 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.001162/1.556, allocations: 215.5 kB / 0.82 GB, free: 42.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01824/1.574, allocations: 11.62 MB / 0.8314 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.574, allocations: 7.938 kB / 0.8314 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008877/1.583, allocations: 5.01 MB / 0.8363 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009308/1.592, allocations: 0.9858 MB / 0.8372 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2005/1.793, allocations: 19.64 MB / 0.8564 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00958/1.803, allocations: 5.551 MB / 0.8618 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006807/1.809, allocations: 2.61 MB / 0.8644 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.811, allocations: 393.7 kB / 0.8647 GB, free: 130.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/1.811, allocations: 3.828 kB / 0.8647 GB, free: 130.5 MB / 446.1 MB Notification: Performance of Templates: time 0.14/1.951, allocations: 91.38 MB / 0.954 GB, free: 64.26 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches