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.001527/0.001527, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.377/1.377, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007851/0.0007851, allocations: 86.42 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 47.58 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3285, allocations: 109.8 MB / 486.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.3288, allocations: 99.95 kB / 487 MB, free: 2.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.811/1.14, allocations: 180 MB / 0.6514 GB, free: 39.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.617e-06/1.14, allocations: 0 / 0.6514 GB, free: 39.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007459/1.141, allocations: 187.8 kB / 0.6516 GB, free: 39.25 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.02944/1.17, allocations: 10.02 MB / 0.6613 GB, free: 37.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.17, allocations: 7.188 kB / 0.6613 GB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04511/1.215, allocations: 11.71 MB / 0.6728 GB, free: 36.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02776/1.243, allocations: 13.19 MB / 0.6857 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/1.244, allocations: 0.6204 MB / 0.6863 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/1.247, allocations: 0.8629 MB / 0.6871 GB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/1.286, allocations: 19.17 MB / 0.7058 GB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005606/1.286, allocations: 111.7 kB / 0.7059 GB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002733/1.289, allocations: 391.2 kB / 0.7063 GB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/1.292, allocations: 1.605 MB / 0.7079 GB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03068/1.322, allocations: 15.27 MB / 0.7228 GB, free: 30.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/1.428, allocations: 80.5 MB / 0.8014 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/1.449, allocations: 7.89 MB / 0.8091 GB, free: 6.777 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005484/1.454, allocations: 4.049 MB / 0.8131 GB, free: 3.133 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2191/1.673, allocations: 13.96 MB / 0.8267 GB, free: 82.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/1.673, allocations: 68.69 kB / 0.8268 GB, free: 82.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=308): time 7.715e-06/1.673, allocations: 0 / 0.8268 GB, free: 82.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=408): time 0.1474/1.821, allocations: 47.37 MB / 0.873 GB, free: 77.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.821, allocations: 407.6 kB / 0.8734 GB, free: 76.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/1.833, allocations: 7.533 MB / 0.8808 GB, free: 76.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007598/1.834, allocations: 88.89 kB / 0.8809 GB, free: 76.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003406/1.837, allocations: 5.871 MB / 0.8866 GB, free: 73.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.839, allocations: 1.475 MB / 0.888 GB, free: 72.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/1.839, allocations: 191.8 kB / 0.8882 GB, free: 72.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003804/1.84, allocations: 0.6945 MB / 0.8889 GB, free: 72.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/1.845, allocations: 4.175 MB / 0.893 GB, free: 72.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007574/1.853, allocations: 9.245 MB / 0.902 GB, free: 64.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.868, allocations: 14.49 MB / 0.9162 GB, free: 54.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002077/1.868, allocations: 54.28 kB / 0.9162 GB, free: 54.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.03396/1.902, allocations: 17.26 MB / 0.9331 GB, free: 41.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/1.902, allocations: 80 kB / 0.9331 GB, free: 41.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/1.902, allocations: 175.9 kB / 0.9333 GB, free: 40.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/1.915, allocations: 4.699 MB / 0.9379 GB, free: 37.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006147/1.921, allocations: 1.973 MB / 0.9398 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/1.954, allocations: 25.25 MB / 0.9645 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008054/1.962, allocations: 0.5383 MB / 0.965 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/1.964, allocations: 0.5133 MB / 0.9655 GB, free: 13.23 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.008878/1.973, allocations: 4.101 MB / 0.9695 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/1.975, allocations: 0.7096 MB / 0.9702 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2574/2.232, allocations: 10.97 MB / 0.9809 GB, free: 69.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/2.232, allocations: 40.27 kB / 0.981 GB, free: 69.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.182e-05/2.232, allocations: 25.03 kB / 0.981 GB, free: 69.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.82e-05/2.232, allocations: 16.97 kB / 0.981 GB, free: 69.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05302/2.285, allocations: 23.78 MB / 1.004 GB, free: 68.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-05/2.286, allocations: 6.75 kB / 1.004 GB, free: 68.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/2.288, allocations: 0.5284 MB / 1.005 GB, free: 68.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/2.303, allocations: 4.152 MB / 1.009 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009635/2.304, allocations: 76 kB / 1.009 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0314/2.335, allocations: 21.98 MB / 1.03 GB, free: 66.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.335, allocations: 12.16 kB / 1.03 GB, free: 66.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02913/2.364, allocations: 16.13 MB / 1.046 GB, free: 60.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/2.369, allocations: 1.37 MB / 1.047 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0022/2.371, allocations: 75.62 kB / 1.048 GB, free: 60.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004994/2.376, allocations: 255.1 kB / 1.048 GB, free: 60.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00121/2.378, allocations: 287.8 kB / 1.048 GB, free: 60.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/2.378, allocations: 111.2 kB / 1.048 GB, free: 60.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01051/2.389, allocations: 4.817 MB / 1.053 GB, free: 58.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.389, allocations: 2.594 kB / 1.053 GB, free: 58.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01243/2.401, allocations: 2.196 MB / 1.055 GB, free: 58.28 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.001182/2.402, allocations: 281.8 kB / 1.055 GB, free: 58.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01728/2.42, allocations: 10.59 MB / 1.066 GB, free: 54.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/2.42, allocations: 3.375 kB / 1.066 GB, free: 54.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006944/2.427, allocations: 4.422 MB / 1.07 GB, free: 52.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01684/2.443, allocations: 1.106 MB / 1.071 GB, free: 52.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04878/2.492, allocations: 24.75 MB / 1.095 GB, free: 36.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01432/2.507, allocations: 6.383 MB / 1.101 GB, free: 31.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0108/2.518, allocations: 2.94 MB / 1.104 GB, free: 29.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/2.519, allocations: 438 kB / 1.105 GB, free: 29.4 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/2.519, allocations: 0 / 1.105 GB, free: 29.4 MB / 458.7 MB Notification: Performance of Templates: time 0.4157/2.935, allocations: 93.66 MB / 1.196 GB, free: 73.88 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/jenkins1/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