Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.258/1.258, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007286/0.0007286, allocations: 89.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.56 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 15.98 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 58.84 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.4077, allocations: 96.78 MB / 0.5744 GB, free: 5.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.408, allocations: 79.97 kB / 0.5745 GB, free: 5.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.5225, allocations: 47.21 MB / 0.6206 GB, free: 5.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5226, allocations: 0 / 0.6206 GB, free: 5.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.339e-05/0.5227, allocations: 51.92 kB / 0.6207 GB, free: 5.805 MB / 442.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.005533/0.5282, allocations: 2.322 MB / 0.6229 GB, free: 3.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5283, allocations: 15.95 kB / 0.6229 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/0.5353, allocations: 1.764 MB / 0.6247 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.5385, allocations: 1.39 MB / 0.626 GB, free: 204 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.5386, allocations: 181.1 kB / 0.6262 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005857/0.5392, allocations: 240.2 kB / 0.6264 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009699/0.5489, allocations: 6.581 MB / 0.6328 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-05/0.5491, allocations: 43.81 kB / 0.6329 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.5494, allocations: 127.8 kB / 0.633 GB, free: 8.277 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008281/0.5502, allocations: 0.6955 MB / 0.6337 GB, free: 7.586 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008751/0.559, allocations: 5.458 MB / 0.639 GB, free: 2.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02922/0.5883, allocations: 31.82 MB / 0.6701 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1805/0.7688, allocations: 2.312 MB / 0.6724 GB, free: 115.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.7702, allocations: 0.9742 MB / 0.6733 GB, free: 115.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.7703, allocations: 43.7 kB / 0.6733 GB, free: 115.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7703, allocations: 40.31 kB / 0.6734 GB, free: 115.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 5.069e-06/0.7704, allocations: 6.594 kB / 0.6734 GB, free: 115.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02201/0.7924, allocations: 9.313 MB / 0.6825 GB, free: 113.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.7925, allocations: 140.6 kB / 0.6826 GB, free: 113.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.7957, allocations: 2.635 MB / 0.6852 GB, free: 113.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.7959, allocations: 46.3 kB / 0.6852 GB, free: 113.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009759/0.7969, allocations: 2.032 MB / 0.6872 GB, free: 112.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.7972, allocations: 465.8 kB / 0.6877 GB, free: 112 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.7974, allocations: 86.72 kB / 0.6877 GB, free: 112 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7976, allocations: 499.8 kB / 0.6882 GB, free: 111.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.7993, allocations: 1.374 MB / 0.6896 GB, free: 111.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.8019, allocations: 4.161 MB / 0.6936 GB, free: 108.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/0.8069, allocations: 6.064 MB / 0.6996 GB, free: 104.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.249e-05/0.807, allocations: 28.22 kB / 0.6996 GB, free: 104.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008446/0.8154, allocations: 5.6 MB / 0.705 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.8155, allocations: 47.19 kB / 0.7051 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.8157, allocations: 104.7 kB / 0.7052 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/0.8167, allocations: 462.7 kB / 0.7056 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/0.8202, allocations: 1.017 MB / 0.7066 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.8238, allocations: 3.394 MB / 0.7099 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.8269, allocations: 228.2 kB / 0.7102 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/0.8276, allocations: 280.8 kB / 0.7104 GB, free: 100.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * 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.00231/0.8299, allocations: 1.379 MB / 0.7118 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.8304, allocations: 222.4 kB / 0.712 GB, free: 99.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8331, allocations: 1.478 MB / 0.7134 GB, free: 98.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.8331, allocations: 18.47 kB / 0.7134 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8331, allocations: 2.469 kB / 0.7134 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8332, allocations: 4.562 kB / 0.7135 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008305/0.8415, allocations: 4.481 MB / 0.7178 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.8415, allocations: 3.938 kB / 0.7178 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/0.8424, allocations: 174.1 kB / 0.718 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008453/0.8432, allocations: 310 kB / 0.7183 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.8434, allocations: 20.67 kB / 0.7183 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.8465, allocations: 2.817 MB / 0.7211 GB, free: 94.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.8465, allocations: 2.125 kB / 0.7211 GB, free: 94.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.8512, allocations: 3.275 MB / 0.7243 GB, free: 93.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.8522, allocations: 438 kB / 0.7247 GB, free: 93.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.8525, allocations: 18.09 kB / 0.7247 GB, free: 93.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/0.8534, allocations: 46.72 kB / 0.7247 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.8536, allocations: 64.03 kB / 0.7248 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/0.8537, allocations: 34.91 kB / 0.7248 GB, free: 93.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002865/0.8566, allocations: 1.625 MB / 0.7264 GB, free: 92.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8566, allocations: 0 / 0.7264 GB, free: 92.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003714/0.8603, allocations: 0.6151 MB / 0.727 GB, free: 92.52 MB / 490.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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.0004297/0.8607, allocations: 148.5 kB / 0.7272 GB, free: 92.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004748/0.8655, allocations: 3.339 MB / 0.7304 GB, free: 91.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8655, allocations: 0 / 0.7304 GB, free: 91.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.8667, allocations: 0.9345 MB / 0.7313 GB, free: 90.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.8684, allocations: 207.7 kB / 0.7315 GB, free: 90.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/0.8779, allocations: 6.861 MB / 0.7382 GB, free: 87.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.8797, allocations: 2.19 MB / 0.7404 GB, free: 86.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.8804, allocations: 197.3 kB / 0.7406 GB, free: 86.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8804, allocations: 0 / 0.7406 GB, free: 86.14 MB / 490.7 MB Notification: Performance of Templates: time 0.05335/0.9337, allocations: 46.26 MB / 0.7857 GB, free: 59 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches