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.001092/0.001092, allocations: 178.8 kB / 16.41 MB, free: 5.578 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.547/1.547, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.0008541/0.0008543, allocations: 86.31 kB / 270.9 MB, free: 8.379 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.3646/0.3646, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004644, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1517, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2681/0.4199, allocations: 15.55 MB / 0.4939 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.431, allocations: 3.841 MB / 0.4977 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.4337, allocations: 70.22 kB / 0.4977 GB, free: 33.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.4357, allocations: 0.7785 MB / 0.4985 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005866/0.4416, allocations: 2.214 MB / 0.5007 GB, free: 33.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009878/0.4426, allocations: 239.3 kB / 0.5009 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.4454, allocations: 2.172 MB / 0.503 GB, free: 32.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.4475, allocations: 1.519 MB / 0.5045 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.4483, allocations: 0.6519 MB / 0.5051 GB, free: 32.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.4494, allocations: 0.9826 MB / 0.5061 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.4495, allocations: 73.38 kB / 0.5062 GB, free: 32.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.4506, allocations: 0.5825 MB / 0.5067 GB, free: 32.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.4513, allocations: 0.8642 MB / 0.5076 GB, free: 32.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.4516, allocations: 480.6 kB / 0.508 GB, free: 32.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.4535, allocations: 2.798 MB / 0.5108 GB, free: 31.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4536, allocations: 3.938 kB / 0.5108 GB, free: 31.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4536, allocations: 0 / 0.5108 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.673e-05/0.4536, allocations: 0 / 0.5108 GB, free: 31.72 MB / 378.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.002945/0.4566, allocations: 2.219 MB / 0.5129 GB, free: 30.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4566, allocations: 13.66 kB / 0.513 GB, free: 30.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.4611, allocations: 1.61 MB / 0.5145 GB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.4627, allocations: 1.053 MB / 0.5156 GB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-05/0.4628, allocations: 119.4 kB / 0.5157 GB, free: 29.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.4631, allocations: 154.8 kB / 0.5158 GB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/0.4704, allocations: 6.173 MB / 0.5218 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.4705, allocations: 28.92 kB / 0.5219 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.4707, allocations: 83.45 kB / 0.5219 GB, free: 26.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/0.4729, allocations: 1.438 MB / 0.5234 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009351/0.4822, allocations: 5.375 MB / 0.5286 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02622/0.5085, allocations: 24.87 MB / 0.5529 GB, free: 21.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.5128, allocations: 2.349 MB / 0.5552 GB, free: 19.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.514, allocations: 0.9819 MB / 0.5561 GB, free: 19.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.5143, allocations: 331.6 kB / 0.5565 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5143, allocations: 46.88 kB / 0.5565 GB, free: 18.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.606e-06/0.5143, allocations: 0 / 0.5565 GB, free: 18.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.02206/0.5364, allocations: 8.487 MB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.5365, allocations: 144.5 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.5402, allocations: 2.628 MB / 0.5675 GB, free: 9.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.5404, allocations: 41.7 kB / 0.5675 GB, free: 9.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.5418, allocations: 2.019 MB / 0.5695 GB, free: 7.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.5422, allocations: 441.5 kB / 0.5699 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.5424, allocations: 80 kB / 0.57 GB, free: 6.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003069/0.5427, allocations: 499.4 kB / 0.5705 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.5446, allocations: 1.316 MB / 0.5718 GB, free: 5.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/0.5485, allocations: 4.092 MB / 0.5758 GB, free: 15.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.5515, allocations: 2.295 MB / 0.578 GB, free: 13.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/0.5516, allocations: 28 kB / 0.578 GB, free: 13.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008104/0.5597, allocations: 5.454 MB / 0.5834 GB, free: 7.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.5598, allocations: 48.28 kB / 0.5834 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/0.5598, allocations: 100.9 kB / 0.5835 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.5609, allocations: 472.5 kB / 0.5839 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.5634, allocations: 0.9747 MB / 0.5849 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.5673, allocations: 3.401 MB / 0.5882 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.5698, allocations: 230.3 kB / 0.5884 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.5701, allocations: 271.9 kB / 0.5887 GB, free: 2.199 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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.002047/0.5722, allocations: 1.36 MB / 0.59 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.5725, allocations: 221.1 kB / 0.5902 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.5749, allocations: 1.328 MB / 0.5915 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.575, allocations: 12 kB / 0.5915 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.575, allocations: 4 kB / 0.5916 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.575, allocations: 7.938 kB / 0.5916 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.5827, allocations: 4.243 MB / 0.5957 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5827, allocations: 0 / 0.5957 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.5833, allocations: 135.8 kB / 0.5958 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009037/0.5842, allocations: 313.3 kB / 0.5961 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.5843, allocations: 28.77 kB / 0.5962 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.5878, allocations: 2.824 MB / 0.5989 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5878, allocations: 8 kB / 0.5989 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.5923, allocations: 3.052 MB / 0.6019 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.5933, allocations: 414 kB / 0.6023 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/0.5938, allocations: 21.33 kB / 0.6023 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5949, allocations: 44.12 kB / 0.6024 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.5951, allocations: 60.28 kB / 0.6024 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.5951, allocations: 33.42 kB / 0.6025 GB, free: 3.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00377/0.5989, allocations: 1.617 MB / 0.604 GB, free: 2.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5989, allocations: 0 / 0.604 GB, free: 2.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004172/0.6031, allocations: 0.5977 MB / 0.6046 GB, free: 1.664 MB / 426.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 (77): * Single equations (assignments): 73 * 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.000422/0.6035, allocations: 146.9 kB / 0.6048 GB, free: 1.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006107/0.6097, allocations: 3.197 MB / 0.6079 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6097, allocations: 4 kB / 0.6079 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.6111, allocations: 0.8547 MB / 0.6087 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.6131, allocations: 200 kB / 0.6089 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.6263, allocations: 6.738 MB / 0.6155 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/0.6297, allocations: 2.183 MB / 0.6176 GB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/0.6305, allocations: 191.4 kB / 0.6178 GB, free: 4.066 MB / 442.7 MB Notification: Performance of SimCode: time 2.194e-06/0.6305, allocations: 0 / 0.6178 GB, free: 4.066 MB / 442.7 MB Notification: Performance of Templates: time 0.07467/0.7052, allocations: 45.32 MB / 0.6621 GB, free: 6.75 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/jenkins/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