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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 180.7 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 92.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002608, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2837, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4199, allocations: 96.3 MB / 472.1 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.4203, allocations: 95.89 kB / 472.2 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5828/1.003, allocations: 161.3 MB / 0.6186 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.003, allocations: 0 / 0.6186 GB, free: 12.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001036/1.004, allocations: 160 kB / 0.6188 GB, free: 11.86 MB / 394.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.0339/1.038, allocations: 8.981 MB / 0.6275 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.038, allocations: 8.031 kB / 0.6276 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06459/1.103, allocations: 16.47 MB / 0.6436 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2643/1.367, allocations: 13.55 MB / 0.6569 GB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/1.368, allocations: 0.5239 MB / 0.6574 GB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003513/1.371, allocations: 0.7302 MB / 0.6581 GB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03809/1.409, allocations: 16.4 MB / 0.6741 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006626/1.41, allocations: 113.4 kB / 0.6742 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/1.413, allocations: 337.1 kB / 0.6745 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.416, allocations: 1.487 MB / 0.676 GB, free: 50.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/1.447, allocations: 12.92 MB / 0.6886 GB, free: 50.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08806/1.535, allocations: 73.46 MB / 0.7603 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/1.555, allocations: 7.497 MB / 0.7677 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02448/1.579, allocations: 11.59 MB / 0.779 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/1.579, allocations: 66.09 kB / 0.779 GB, free: 2.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 8.987e-06/1.579, allocations: 0 / 0.779 GB, free: 2.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.4027/1.982, allocations: 46.37 MB / 0.8243 GB, free: 97.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/1.982, allocations: 398.4 kB / 0.8247 GB, free: 97.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/1.995, allocations: 6.267 MB / 0.8308 GB, free: 96.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009352/1.996, allocations: 74.48 kB / 0.8309 GB, free: 96.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00444/2.001, allocations: 5.227 MB / 0.836 GB, free: 95.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001837/2.002, allocations: 1.25 MB / 0.8372 GB, free: 95.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006891/2.003, allocations: 164.7 kB / 0.8374 GB, free: 95.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003687/2.004, allocations: 0.6539 MB / 0.838 GB, free: 94.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/2.008, allocations: 3.796 MB / 0.8417 GB, free: 94.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00757/2.016, allocations: 8.475 MB / 0.85 GB, free: 88.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007798/2.024, allocations: 5.512 MB / 0.8554 GB, free: 88.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/2.024, allocations: 47.72 kB / 0.8554 GB, free: 88.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.03305/2.057, allocations: 16.72 MB / 0.8718 GB, free: 87.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/2.057, allocations: 75.28 kB / 0.8718 GB, free: 87.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002472/2.057, allocations: 165.2 kB / 0.872 GB, free: 87.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/2.073, allocations: 5.51 MB / 0.8774 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/2.079, allocations: 1.798 MB / 0.8791 GB, free: 86.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03597/2.115, allocations: 28.96 MB / 0.9074 GB, free: 73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008419/2.124, allocations: 0.5175 MB / 0.9079 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/2.126, allocations: 480.8 kB / 0.9084 GB, free: 72.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 740 * 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 (947): * Single equations (assignments): 941 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,51.6%) 93,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.009721/2.136, allocations: 3.481 MB / 0.9118 GB, free: 71.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/2.138, allocations: 0.6562 MB / 0.9124 GB, free: 70.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02444/2.162, allocations: 10.97 MB / 0.9231 GB, free: 64.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/2.162, allocations: 32 kB / 0.9232 GB, free: 64.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/2.163, allocations: 23.84 kB / 0.9232 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.113e-05/2.163, allocations: 17.28 kB / 0.9232 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0492/2.212, allocations: 24.02 MB / 0.9467 GB, free: 44.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/2.212, allocations: 4 kB / 0.9467 GB, free: 44.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/2.214, allocations: 427.1 kB / 0.9471 GB, free: 44.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/2.229, allocations: 5.093 MB / 0.952 GB, free: 40.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008514/2.23, allocations: 66.59 kB / 0.9521 GB, free: 40.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03436/2.264, allocations: 27.72 MB / 0.9792 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.265, allocations: 11.94 kB / 0.9792 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2881/2.553, allocations: 16.88 MB / 0.9957 GB, free: 86.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005017/2.558, allocations: 1.271 MB / 0.9969 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002176/2.56, allocations: 62.33 kB / 0.997 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004146/2.564, allocations: 259.2 kB / 0.9972 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009258/2.565, allocations: 235.5 kB / 0.9974 GB, free: 86.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003036/2.565, allocations: 96.06 kB / 0.9975 GB, free: 86.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00948/2.575, allocations: 4.53 MB / 1.002 GB, free: 86.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.575, allocations: 3.688 kB / 1.002 GB, free: 86.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01081/2.586, allocations: 1.967 MB / 1.004 GB, free: 86.16 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008978/2.587, allocations: 224.2 kB / 1.004 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01732/2.604, allocations: 10.14 MB / 1.014 GB, free: 85.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.604, allocations: 0 / 1.014 GB, free: 85.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007121/2.611, allocations: 4.511 MB / 1.018 GB, free: 85.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006424/2.618, allocations: 0.9758 MB / 1.019 GB, free: 85.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/2.657, allocations: 21.62 MB / 1.04 GB, free: 77.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/2.668, allocations: 5.72 MB / 1.046 GB, free: 76.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009786/2.678, allocations: 2.636 MB / 1.049 GB, free: 76.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/2.679, allocations: 399.6 kB / 1.049 GB, free: 76.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/2.679, allocations: 0 / 1.049 GB, free: 76.46 MB / 458.7 MB Notification: Performance of Templates: time 0.1406/2.82, allocations: 84.05 MB / 1.131 GB, free: 17.54 MB / 458.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches