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.001416/0.001416, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001475/0.001475, allocations: 195 kB / 17.98 MB, free: 5.027 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.522/1.522, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2002/0.2002, allocations: 43.52 MB / 314.7 MB, free: 492 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.001572/0.001572, allocations: 67.14 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00607/0.1304, allocations: 6.8 MB / 448.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.1349, allocations: 2.381 MB / 451.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.1355, allocations: 31.94 kB / 451.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.1374, allocations: 1.043 MB / 452.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.1391, allocations: 0.8323 MB / 453.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.1399, allocations: 311.2 kB / 453.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.1423, allocations: 1.892 MB / 455.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.1438, allocations: 1.271 MB / 456.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.1446, allocations: 0.7238 MB / 457.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.1457, allocations: 0.9653 MB / 458.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.146, allocations: 128 kB / 458.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1471, allocations: 0.7098 MB / 459 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.1478, allocations: 0.9271 MB / 460 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009623/0.1488, allocations: 1.145 MB / 461.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.1522, allocations: 3.74 MB / 464.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1522, allocations: 0 / 464.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1522, allocations: 0 / 464.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.1523, allocations: 0 / 464.9 MB, free: 15.17 MB / 350.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.004139/0.1564, allocations: 2.653 MB / 467.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1565, allocations: 15.89 kB / 467.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.1614, allocations: 1.561 MB / 469.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.1637, allocations: 1.088 MB / 470.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.1638, allocations: 115.3 kB / 470.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.1641, allocations: 160 kB / 470.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008691/0.1728, allocations: 6.186 MB / 476.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.455e-05/0.1729, allocations: 27.7 kB / 476.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.1731, allocations: 79.89 kB / 476.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.1755, allocations: 1.448 MB / 478.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.1855, allocations: 5.389 MB / 483.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02776/0.2133, allocations: 24.76 MB / 0.4964 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.2178, allocations: 2.343 MB / 0.4987 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.2189, allocations: 0.995 MB / 0.4997 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.2194, allocations: 339.5 kB / 0.5 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.2194, allocations: 42.56 kB / 0.5 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.537e-06/0.2194, allocations: 0 / 0.5 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.021/0.2405, allocations: 8.433 MB / 0.5083 GB, free: 5.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2406, allocations: 148.5 kB / 0.5084 GB, free: 5.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/0.2443, allocations: 2.64 MB / 0.511 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.2445, allocations: 45.69 kB / 0.511 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.2462, allocations: 2.016 MB / 0.513 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.2467, allocations: 434.6 kB / 0.5134 GB, free: 432 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.248, allocations: 0.8726 MB / 0.5143 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2481, allocations: 301.1 kB / 0.5146 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.2502, allocations: 1.336 MB / 0.5159 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004723/0.255, allocations: 4.108 MB / 0.5199 GB, free: 8.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.2624, allocations: 5.936 MB / 0.5257 GB, free: 1.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.2626, allocations: 28 kB / 0.5257 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.2424/0.5049, allocations: 5.488 MB / 0.5311 GB, free: 85.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.505, allocations: 47.16 kB / 0.5311 GB, free: 85.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.454e-05/0.5051, allocations: 102.2 kB / 0.5312 GB, free: 85.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5063, allocations: 456.4 kB / 0.5316 GB, free: 85.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.5094, allocations: 0.9712 MB / 0.5326 GB, free: 84.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.5137, allocations: 3.677 MB / 0.5362 GB, free: 83.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.5173, allocations: 233.5 kB / 0.5364 GB, free: 83.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006914/0.518, allocations: 268.7 kB / 0.5367 GB, free: 83.04 MB / 414.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.002903/0.5209, allocations: 1.375 MB / 0.538 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.5214, allocations: 215.2 kB / 0.5382 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.524, allocations: 1.328 MB / 0.5395 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.5241, allocations: 15.94 kB / 0.5395 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5241, allocations: 3.188 kB / 0.5395 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5241, allocations: 5.234 kB / 0.5395 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.5324, allocations: 4.217 MB / 0.5436 GB, free: 80.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5325, allocations: 0 / 0.5436 GB, free: 80.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.5331, allocations: 141.8 kB / 0.5438 GB, free: 80.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007928/0.5339, allocations: 311.9 kB / 0.5441 GB, free: 80.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.534, allocations: 18.45 kB / 0.5441 GB, free: 80.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.537, allocations: 3.039 MB / 0.5471 GB, free: 78.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.537, allocations: 3.938 kB / 0.5471 GB, free: 78.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.5404, allocations: 3.063 MB / 0.5501 GB, free: 76.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.5415, allocations: 415.4 kB / 0.5505 GB, free: 76.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.5417, allocations: 15.88 kB / 0.5505 GB, free: 76.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.5424, allocations: 50.8 kB / 0.5505 GB, free: 76.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5425, allocations: 58.03 kB / 0.5506 GB, free: 76.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.5426, allocations: 26.78 kB / 0.5506 GB, free: 76.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.5449, allocations: 1.629 MB / 0.5522 GB, free: 75.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5449, allocations: 0 / 0.5522 GB, free: 75.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003544/0.5484, allocations: 0.5985 MB / 0.5528 GB, free: 75.75 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 (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.0003613/0.5488, allocations: 148.5 kB / 0.5529 GB, free: 75.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.5532, allocations: 3.225 MB / 0.5561 GB, free: 72.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5532, allocations: 0 / 0.5561 GB, free: 72.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.5542, allocations: 0.8634 MB / 0.5569 GB, free: 71.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.5558, allocations: 211.8 kB / 0.5571 GB, free: 71.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.5641, allocations: 5.45 MB / 0.5624 GB, free: 66.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.5657, allocations: 2.173 MB / 0.5646 GB, free: 64.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002527/0.5683, allocations: 1.382 MB / 0.5659 GB, free: 62.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.5687, allocations: 163.4 kB / 0.5661 GB, free: 62.53 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5687, allocations: 0 / 0.5661 GB, free: 62.53 MB / 414.1 MB Notification: Performance of Templates: time 0.03117/0.5998, allocations: 16.69 MB / 0.5824 GB, free: 46.03 MB / 414.1 MB 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 -s cvode -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