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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.2 kB / 17 MB, free: 6.355 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.001166/0.001167, allocations: 184.2 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 241.9 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2663/0.2663, allocations: 44.25 MB / 337.3 MB, free: 2.59 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 9.125 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0156/0.1447, allocations: 15.52 MB / 487.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009532/0.1543, allocations: 3.858 MB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1571, allocations: 71.75 kB / 491 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.1593, allocations: 0.7698 MB / 491.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.1659, allocations: 2.224 MB / 494 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1672, allocations: 239.6 kB / 494.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.1706, allocations: 2.172 MB / 496.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.1732, allocations: 1.5 MB / 497.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1744, allocations: 0.6576 MB / 498.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.1758, allocations: 0.9773 MB / 499.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.1761, allocations: 76 kB / 499.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1773, allocations: 0.5966 MB / 0.4885 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008321/0.1781, allocations: 0.8686 MB / 0.4894 GB, free: 40 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.1786, allocations: 476.2 kB / 0.4898 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.1816, allocations: 2.802 MB / 0.4926 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.1816, allocations: 0 / 0.4926 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1817, allocations: 0 / 0.4926 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.894e-05/0.1818, allocations: 0 / 0.4926 GB, free: 12.76 MB / 382.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.004435/0.1862, allocations: 2.228 MB / 0.4947 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1863, allocations: 8.031 kB / 0.4947 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.1912, allocations: 1.607 MB / 0.4963 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.1932, allocations: 1.056 MB / 0.4973 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1934, allocations: 122.9 kB / 0.4975 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.1937, allocations: 151.8 kB / 0.4976 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.2038, allocations: 6.175 MB / 0.5036 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/0.2039, allocations: 31.66 kB / 0.5037 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.2042, allocations: 83.89 kB / 0.5037 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.254/0.4582, allocations: 1.43 MB / 0.5051 GB, free: 42.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.4713, allocations: 5.364 MB / 0.5104 GB, free: 42.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.499, allocations: 24.87 MB / 0.5347 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.5028, allocations: 2.35 MB / 0.537 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009322/0.5037, allocations: 0.9817 MB / 0.5379 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.504, allocations: 329.3 kB / 0.5382 GB, free: 22.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.504, allocations: 46.19 kB / 0.5383 GB, free: 22.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.428e-06/0.504, allocations: 0 / 0.5383 GB, free: 22.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01871/0.5228, allocations: 8.477 MB / 0.5466 GB, free: 14.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.5228, allocations: 136.5 kB / 0.5467 GB, free: 14.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.5257, allocations: 2.628 MB / 0.5493 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.5258, allocations: 38.72 kB / 0.5493 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.5266, allocations: 2.029 MB / 0.5513 GB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.5269, allocations: 436.9 kB / 0.5517 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.527, allocations: 85.17 kB / 0.5518 GB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5272, allocations: 0.4916 MB / 0.5523 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.5286, allocations: 1.316 MB / 0.5535 GB, free: 7.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.5312, allocations: 4.088 MB / 0.5575 GB, free: 1.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.5336, allocations: 2.296 MB / 0.5598 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.786e-05/0.5336, allocations: 28 kB / 0.5598 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008627/0.5422, allocations: 5.457 MB / 0.5651 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.5423, allocations: 48 kB / 0.5652 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.5424, allocations: 104 kB / 0.5653 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.5434, allocations: 477.1 kB / 0.5657 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.5461, allocations: 0.9708 MB / 0.5667 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.55, allocations: 3.382 MB / 0.57 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.5527, allocations: 231.6 kB / 0.5702 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.5532, allocations: 277.2 kB / 0.5705 GB, free: 4.609 MB / 398.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 (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.002173/0.5553, allocations: 1.361 MB / 0.5718 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.5557, allocations: 221.1 kB / 0.572 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.5579, allocations: 1.326 MB / 0.5733 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.558, allocations: 12 kB / 0.5733 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.558, allocations: 4 kB / 0.5733 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.558, allocations: 6.641 kB / 0.5733 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/0.5647, allocations: 4.247 MB / 0.5775 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5648, allocations: 0 / 0.5775 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.5654, allocations: 135.8 kB / 0.5776 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007989/0.5662, allocations: 317.8 kB / 0.5779 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.5662, allocations: 19.94 kB / 0.5779 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.5694, allocations: 2.823 MB / 0.5807 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5694, allocations: 0 / 0.5807 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.5734, allocations: 3.061 MB / 0.5837 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.5739, allocations: 278.1 kB / 0.5839 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5741, allocations: 16.16 kB / 0.584 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.5748, allocations: 55.39 kB / 0.584 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5749, allocations: 56.23 kB / 0.5841 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.575, allocations: 36.77 kB / 0.5841 GB, free: 6.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002345/0.5773, allocations: 1.617 MB / 0.5857 GB, free: 4.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5774, allocations: 0 / 0.5857 GB, free: 4.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003147/0.5805, allocations: 0.6067 MB / 0.5863 GB, free: 4.207 MB / 414.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 (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.0003265/0.5809, allocations: 139.7 kB / 0.5864 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.5861, allocations: 3.189 MB / 0.5895 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5862, allocations: 0 / 0.5895 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.5873, allocations: 0.8691 MB / 0.5904 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5887, allocations: 192.8 kB / 0.5905 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5992, allocations: 6.448 MB / 0.5968 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.6015, allocations: 2.175 MB / 0.599 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003418/0.6049, allocations: 1.395 MB / 0.6003 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.6054, allocations: 159.4 kB / 0.6005 GB, free: 5.562 MB / 430.1 MB Notification: Performance of SimCode: time 3.256e-06/0.6054, allocations: 0 / 0.6005 GB, free: 5.562 MB / 430.1 MB Notification: Performance of Templates: time 0.03788/0.6433, allocations: 19.01 MB / 0.619 GB, free: 2.691 MB / 446.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches