Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 179.2 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 94.11 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.188/0.188, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.375e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.5007, allocations: 97.36 MB / 0.5897 GB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.501, allocations: 79.95 kB / 0.5898 GB, free: 15.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.6207, allocations: 47.4 MB / 0.6361 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.6208, allocations: 0 / 0.6361 GB, free: 15.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.016e-05/0.6209, allocations: 43.94 kB / 0.6362 GB, free: 15.19 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.006027/0.6269, allocations: 2.326 MB / 0.6384 GB, free: 12.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.627, allocations: 11.98 kB / 0.6384 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007425/0.6344, allocations: 1.771 MB / 0.6402 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.6377, allocations: 1.364 MB / 0.6415 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.6378, allocations: 76 kB / 0.6416 GB, free: 9.531 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006576/0.6385, allocations: 139.9 kB / 0.6417 GB, free: 9.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005944/0.6445, allocations: 3.729 MB / 0.6453 GB, free: 5.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009508/0.654, allocations: 6.072 MB / 0.6513 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.978e-05/0.6541, allocations: 39.62 kB / 0.6513 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/0.6544, allocations: 28 kB / 0.6513 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007889/0.6552, allocations: 0.6955 MB / 0.652 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.682, allocations: 30.46 MB / 0.6818 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.6846, allocations: 1.99 MB / 0.6837 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.6857, allocations: 0.9657 MB / 0.6847 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.6859, allocations: 51.7 kB / 0.6847 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6859, allocations: 46.5 kB / 0.6847 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.527e-06/0.6859, allocations: 0 / 0.6847 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117): time 0.01751/0.7035, allocations: 8.398 MB / 0.6929 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.7036, allocations: 141 kB / 0.6931 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.7066, allocations: 2.019 MB / 0.6951 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.7068, allocations: 25.7 kB / 0.6951 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.7084, allocations: 2.093 MB / 0.6971 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/0.7089, allocations: 466.1 kB / 0.6976 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.7091, allocations: 0 / 0.6976 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003621/0.7094, allocations: 0.5322 MB / 0.6981 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.7114, allocations: 1.305 MB / 0.6994 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004473/0.7159, allocations: 4.191 MB / 0.7035 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/0.7199, allocations: 2.36 MB / 0.7058 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.972e-05/0.72, allocations: 32 kB / 0.7058 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.3004/1.02, allocations: 5.077 MB / 0.7107 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.02, allocations: 50.03 kB / 0.7108 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.021, allocations: 103.6 kB / 0.7109 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.022, allocations: 472.5 kB / 0.7113 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/1.026, allocations: 1.068 MB / 0.7124 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/1.03, allocations: 3.152 MB / 0.7155 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/1.034, allocations: 156.5 kB / 0.7156 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008608/1.035, allocations: 288.4 kB / 0.7159 GB, free: 147.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000764/1.036, allocations: 359.5 kB / 0.7162 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.036, allocations: 200.6 kB / 0.7164 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/1.039, allocations: 1.419 MB / 0.7178 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.039, allocations: 18.08 kB / 0.7178 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.039, allocations: 3.062 kB / 0.7178 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/1.039, allocations: 6.188 kB / 0.7178 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/1.049, allocations: 4.006 MB / 0.7217 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.049, allocations: 3.906 kB / 0.7217 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/1.05, allocations: 169.6 kB / 0.7219 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/1.051, allocations: 311 kB / 0.7222 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/1.051, allocations: 5.781 kB / 0.7222 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/1.054, allocations: 2.619 MB / 0.7248 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.054, allocations: 1.375 kB / 0.7248 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/1.059, allocations: 3.243 MB / 0.7279 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/1.06, allocations: 254.5 kB / 0.7282 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.06, allocations: 2.188 kB / 0.7282 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/1.061, allocations: 37.62 kB / 0.7282 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/1.061, allocations: 62.14 kB / 0.7283 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.061, allocations: 31.48 kB / 0.7283 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00247/1.063, allocations: 1.315 MB / 0.7296 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.063, allocations: 0 / 0.7296 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00409/1.068, allocations: 0.5251 MB / 0.7301 GB, free: 144.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004222/1.068, allocations: 140 kB / 0.7302 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005221/1.073, allocations: 3.163 MB / 0.7333 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.073, allocations: 2.625 kB / 0.7333 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009582/1.074, allocations: 0.8996 MB / 0.7342 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.075, allocations: 149.7 kB / 0.7344 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/1.083, allocations: 4.553 MB / 0.7388 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.084, allocations: 2.249 MB / 0.741 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00314/1.088, allocations: 1.467 MB / 0.7424 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/1.088, allocations: 157 kB / 0.7426 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/1.088, allocations: 0 / 0.7426 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.03107/1.119, allocations: 18.11 MB / 0.7603 GB, free: 140.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches