Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001918/0.001919, allocations: 180.9 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.797/1.797, 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.00118/0.00118, allocations: 84.19 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.378, allocations: 109.6 MB / 485.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3783, allocations: 95.95 kB / 485.5 MB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8524/1.231, allocations: 183.7 MB / 0.6535 GB, free: 40.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.231, allocations: 0 / 0.6535 GB, free: 40.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007324/1.231, allocations: 187.2 kB / 0.6537 GB, free: 40.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.03276/1.264, allocations: 10.31 MB / 0.6638 GB, free: 36.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.264, allocations: 8.219 kB / 0.6638 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06142/1.326, allocations: 16.64 MB / 0.68 GB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03648/1.362, allocations: 14.67 MB / 0.6943 GB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006266/1.363, allocations: 0.6183 MB / 0.695 GB, free: 34.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004063/1.367, allocations: 0.8608 MB / 0.6958 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04605/1.413, allocations: 19.42 MB / 0.7148 GB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005226/1.414, allocations: 109.9 kB / 0.7149 GB, free: 31.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002627/1.416, allocations: 389 kB / 0.7152 GB, free: 31.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/1.419, allocations: 1.603 MB / 0.7168 GB, free: 31.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/1.451, allocations: 15.59 MB / 0.732 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.559, allocations: 80.59 MB / 0.8107 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/1.58, allocations: 7.911 MB / 0.8184 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2515/1.832, allocations: 14.07 MB / 0.8322 GB, free: 77.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/1.832, allocations: 71.47 kB / 0.8323 GB, free: 77.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=308): time 5.109e-06/1.832, allocations: 0 / 0.8323 GB, free: 77.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=408): time 0.1597/1.991, allocations: 47.57 MB / 0.8787 GB, free: 72.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/1.992, allocations: 408.8 kB / 0.8791 GB, free: 71.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/2.007, allocations: 6.663 MB / 0.8856 GB, free: 71.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/2.008, allocations: 87.83 kB / 0.8857 GB, free: 71.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006462/2.015, allocations: 5.873 MB / 0.8914 GB, free: 68.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002599/2.017, allocations: 1.479 MB / 0.8929 GB, free: 67.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/2.019, allocations: 187.9 kB / 0.893 GB, free: 67.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004912/2.019, allocations: 0.6973 MB / 0.8937 GB, free: 67.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006365/2.025, allocations: 4.171 MB / 0.8978 GB, free: 67.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009394/2.035, allocations: 9.214 MB / 0.9068 GB, free: 59.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00959/2.044, allocations: 6.087 MB / 0.9127 GB, free: 57.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.045, allocations: 50.09 kB / 0.9128 GB, free: 57.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.03894/2.084, allocations: 17.26 MB / 0.9296 GB, free: 49.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003192/2.084, allocations: 82.66 kB / 0.9297 GB, free: 48.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003703/2.084, allocations: 176 kB / 0.9299 GB, free: 48.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/2.1, allocations: 4.722 MB / 0.9345 GB, free: 45.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/2.107, allocations: 1.966 MB / 0.9364 GB, free: 43.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03811/2.145, allocations: 26.22 MB / 0.962 GB, free: 21.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009206/2.154, allocations: 0.5407 MB / 0.9626 GB, free: 20.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002209/2.157, allocations: 0.5113 MB / 0.9631 GB, free: 20.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * 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],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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1063): * Single equations (assignments): 1058 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01085/2.167, allocations: 4.094 MB / 0.9671 GB, free: 16.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/2.17, allocations: 0.7135 MB / 0.9678 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/2.196, allocations: 10.94 MB / 0.9784 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/2.197, allocations: 41.02 kB / 0.9785 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.045e-05/2.197, allocations: 20 kB / 0.9785 GB, free: 7.266 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/2.197, allocations: 22.09 kB / 0.9785 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3316/2.528, allocations: 23.78 MB / 1.002 GB, free: 66.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.273e-05/2.529, allocations: 11.33 kB / 1.002 GB, free: 66.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00451/2.533, allocations: 0.5275 MB / 1.002 GB, free: 66.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02197/2.555, allocations: 4.152 MB / 1.006 GB, free: 66.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/2.556, allocations: 77.19 kB / 1.006 GB, free: 66.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05115/2.608, allocations: 22.95 MB / 1.029 GB, free: 65.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/2.608, allocations: 13.5 kB / 1.029 GB, free: 65.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04482/2.653, allocations: 17.62 MB / 1.046 GB, free: 59.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007765/2.66, allocations: 1.375 MB / 1.047 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00393/2.664, allocations: 74.19 kB / 1.047 GB, free: 58.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007572/2.672, allocations: 253.4 kB / 1.048 GB, free: 58.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001792/2.674, allocations: 288.8 kB / 1.048 GB, free: 58.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006241/2.674, allocations: 107.9 kB / 1.048 GB, free: 58.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01506/2.69, allocations: 4.815 MB / 1.053 GB, free: 57.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.69, allocations: 7.562 kB / 1.053 GB, free: 57.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01866/2.708, allocations: 2.197 MB / 1.055 GB, free: 57.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (284): * Single equations (assignments): 280 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/2.71, allocations: 269 kB / 1.055 GB, free: 56.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02356/2.734, allocations: 10.6 MB / 1.066 GB, free: 53.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/2.734, allocations: 3.875 kB / 1.066 GB, free: 53.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00975/2.744, allocations: 4.42 MB / 1.07 GB, free: 51.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009469/2.753, allocations: 1.051 MB / 1.071 GB, free: 50.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07135/2.824, allocations: 24.68 MB / 1.095 GB, free: 37.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0201/2.845, allocations: 6.574 MB / 1.101 GB, free: 32.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01575/2.86, allocations: 2.945 MB / 1.104 GB, free: 30.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/2.863, allocations: 423.3 kB / 1.105 GB, free: 30.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/2.863, allocations: 0 / 1.105 GB, free: 30.38 MB / 458.7 MB Notification: Performance of Templates: time 0.4373/3.301, allocations: 93.25 MB / 1.196 GB, free: 70.94 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches