Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 116.9 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001819, allocations: 193.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2014/0.2014, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.33 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1006, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007442/0.108, allocations: 6.804 MB / 0.4952 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.1126, allocations: 2.388 MB / 0.4975 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.1136, allocations: 35.94 kB / 0.4975 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.1159, allocations: 1.043 MB / 0.4986 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.1182, allocations: 0.8362 MB / 0.4994 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.119, allocations: 295.3 kB / 0.4997 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.1213, allocations: 1.907 MB / 0.5015 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.1228, allocations: 1.264 MB / 0.5027 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000901/0.1237, allocations: 0.7122 MB / 0.5034 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1249, allocations: 0.973 MB / 0.5044 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.1252, allocations: 128 kB / 0.5045 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1264, allocations: 0.7176 MB / 0.5052 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007786/0.1272, allocations: 0.9427 MB / 0.5061 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009725/0.1282, allocations: 1.141 MB / 0.5073 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.1316, allocations: 3.74 MB / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1316, allocations: 0 / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1316, allocations: 0 / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-05/0.1317, allocations: 0 / 0.5109 GB, free: 4.816 MB / 398.1 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.004019/0.1357, allocations: 2.664 MB / 0.5135 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1358, allocations: 15.89 kB / 0.5135 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.141, allocations: 1.561 MB / 0.515 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.143, allocations: 1.088 MB / 0.5161 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.1431, allocations: 119.2 kB / 0.5162 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.1434, allocations: 160 kB / 0.5164 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008938/0.1524, allocations: 6.182 MB / 0.5224 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/0.1525, allocations: 31.66 kB / 0.5224 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.1527, allocations: 79.89 kB / 0.5225 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/0.155, allocations: 1.437 MB / 0.5239 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/0.1645, allocations: 5.397 MB / 0.5292 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2512/0.4157, allocations: 24.76 MB / 0.5534 GB, free: 19.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.4205, allocations: 2.337 MB / 0.5557 GB, free: 18.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4218, allocations: 0.9878 MB / 0.5566 GB, free: 17.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.4221, allocations: 335.9 kB / 0.5569 GB, free: 17.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4222, allocations: 43.81 kB / 0.557 GB, free: 17.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.278e-06/0.4222, allocations: 0 / 0.557 GB, free: 17.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02324/0.4454, allocations: 8.447 MB / 0.5652 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4455, allocations: 144.6 kB / 0.5654 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/0.4502, allocations: 2.639 MB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.4504, allocations: 39.3 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.4515, allocations: 2.023 MB / 0.57 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.4519, allocations: 437 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.4533, allocations: 0.872 MB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.4533, allocations: 309 kB / 0.5715 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.4551, allocations: 1.328 MB / 0.5728 GB, free: 9.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/0.4579, allocations: 4.108 MB / 0.5768 GB, free: 4.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.463, allocations: 5.935 MB / 0.5826 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-05/0.4631, allocations: 28.34 kB / 0.5827 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00994/0.473, allocations: 5.481 MB / 0.588 GB, free: 9.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.4732, allocations: 48.97 kB / 0.5881 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.4733, allocations: 106.4 kB / 0.5882 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4744, allocations: 460.5 kB / 0.5886 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/0.4773, allocations: 0.9747 MB / 0.5895 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.4813, allocations: 3.672 MB / 0.5931 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.4843, allocations: 233.4 kB / 0.5934 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006683/0.485, allocations: 268 kB / 0.5936 GB, free: 3.703 MB / 430.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00264/0.4876, allocations: 1.368 MB / 0.5949 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/0.4882, allocations: 229.1 kB / 0.5952 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.4909, allocations: 1.322 MB / 0.5965 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/0.4909, allocations: 15.98 kB / 0.5965 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.491, allocations: 4 kB / 0.5965 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.491, allocations: 3.984 kB / 0.5965 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.4987, allocations: 4.183 MB / 0.6006 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.4988, allocations: 4 kB / 0.6006 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.4995, allocations: 147.7 kB / 0.6007 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008732/0.5003, allocations: 312.6 kB / 0.601 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.5004, allocations: 16 kB / 0.601 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.5037, allocations: 3.065 MB / 0.604 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5038, allocations: 3.938 kB / 0.604 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.508, allocations: 3.078 MB / 0.607 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008885/0.509, allocations: 410.1 kB / 0.6074 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.5094, allocations: 16 kB / 0.6074 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.5103, allocations: 48.62 kB / 0.6075 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.5105, allocations: 56.36 kB / 0.6075 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.5106, allocations: 24 kB / 0.6076 GB, free: 5.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002414/0.513, allocations: 1.633 MB / 0.6091 GB, free: 3.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.513, allocations: 0 / 0.6091 GB, free: 3.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003583/0.5166, allocations: 0.6022 MB / 0.6097 GB, free: 2.945 MB / 446.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003723/0.517, allocations: 142.7 kB / 0.6099 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.5219, allocations: 3.221 MB / 0.613 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5219, allocations: 0 / 0.613 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.523, allocations: 0.8767 MB / 0.6139 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.5246, allocations: 203.7 kB / 0.6141 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/0.5337, allocations: 5.744 MB / 0.6197 GB, free: 8.738 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.5358, allocations: 2.175 MB / 0.6218 GB, free: 6.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/0.5364, allocations: 191.4 kB / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5365, allocations: 0 / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Performance of Templates: time 0.0647/0.6012, allocations: 46.17 MB / 0.6671 GB, free: 8.145 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches