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.001218/0.001218, allocations: 102.9 kB / 16.27 MB, free: 5.969 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.001217/0.001217, allocations: 186 kB / 17.19 MB, free: 5.605 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.55/1.55, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2271/0.2271, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001557/0.001557, allocations: 69.33 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 57.79 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006676/0.1445, allocations: 6.804 MB / 447.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005043/0.1496, allocations: 2.385 MB / 449.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.1506, allocations: 31.94 kB / 449.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.1526, allocations: 1.035 MB / 450.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.1547, allocations: 0.8361 MB / 451.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1556, allocations: 307.2 kB / 451.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.1578, allocations: 1.892 MB / 453.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.1592, allocations: 1.271 MB / 455.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.1602, allocations: 0.716 MB / 455.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1613, allocations: 0.9731 MB / 456.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.1616, allocations: 131.9 kB / 456.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.163, allocations: 0.7059 MB / 457.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009819/0.164, allocations: 0.9271 MB / 458.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.1653, allocations: 1.141 MB / 459.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.1702, allocations: 3.551 MB / 463.2 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.1702, allocations: 3.984 kB / 463.2 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1702, allocations: 4 kB / 463.2 MB, free: 124 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001141/0.1704, allocations: 0 / 463.2 MB, free: 124 kB / 334.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.005032/0.1754, allocations: 2.665 MB / 465.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1755, allocations: 11.89 kB / 465.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.1808, allocations: 1.569 MB / 467.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.1834, allocations: 1.069 MB / 468.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1836, allocations: 115.3 kB / 468.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.1839, allocations: 160 kB / 468.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009874/0.1938, allocations: 6.186 MB / 475 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/0.1939, allocations: 27.66 kB / 475 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.1942, allocations: 79.89 kB / 475.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/0.1967, allocations: 1.445 MB / 476.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.2075, allocations: 5.389 MB / 481.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.2443, allocations: 24.87 MB / 0.4949 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004746/0.2491, allocations: 2.347 MB / 0.4972 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.2504, allocations: 0.991 MB / 0.4982 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.2509, allocations: 331.6 kB / 0.4985 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.251, allocations: 46.55 kB / 0.4985 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.678e-06/0.251, allocations: 0 / 0.4985 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02421/0.2752, allocations: 8.429 MB / 0.5068 GB, free: 6.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.2754, allocations: 144.4 kB / 0.5069 GB, free: 6.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.2808, allocations: 2.636 MB / 0.5095 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.281, allocations: 49.69 kB / 0.5095 GB, free: 3.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.2831, allocations: 2.02 MB / 0.5115 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006656/0.2838, allocations: 442.6 kB / 0.5119 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/0.2856, allocations: 0.8648 MB / 0.5128 GB, free: 404 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2857, allocations: 301.1 kB / 0.5131 GB, free: 100 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.2882, allocations: 1.336 MB / 0.5144 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/0.2937, allocations: 4.104 MB / 0.5184 GB, free: 9.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007972/0.3017, allocations: 5.939 MB / 0.5242 GB, free: 1.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/0.3019, allocations: 32 kB / 0.5242 GB, free: 1.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.3282/0.6301, allocations: 5.474 MB / 0.5295 GB, free: 84.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6302, allocations: 51.12 kB / 0.5296 GB, free: 84.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/0.6304, allocations: 98.53 kB / 0.5297 GB, free: 84.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.6316, allocations: 458.8 kB / 0.5301 GB, free: 84.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/0.6346, allocations: 0.975 MB / 0.5311 GB, free: 84.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.6398, allocations: 3.68 MB / 0.5347 GB, free: 82.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.6437, allocations: 233.5 kB / 0.5349 GB, free: 82.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006369/0.6443, allocations: 271.8 kB / 0.5352 GB, free: 82.83 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.00266/0.647, allocations: 1.371 MB / 0.5365 GB, free: 82.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.6475, allocations: 215.7 kB / 0.5367 GB, free: 82.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.6504, allocations: 1.329 MB / 0.538 GB, free: 82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/0.6504, allocations: 16.69 kB / 0.538 GB, free: 82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.6504, allocations: 3.344 kB / 0.538 GB, free: 82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.6504, allocations: 5.125 kB / 0.538 GB, free: 82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009098/0.6596, allocations: 4.236 MB / 0.5422 GB, free: 80.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.6596, allocations: 3.891 kB / 0.5422 GB, free: 80.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.6602, allocations: 144.8 kB / 0.5423 GB, free: 80.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007953/0.661, allocations: 315.5 kB / 0.5426 GB, free: 80.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.6611, allocations: 19 kB / 0.5426 GB, free: 80.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.664, allocations: 3.033 MB / 0.5456 GB, free: 78.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.664, allocations: 3.938 kB / 0.5456 GB, free: 78.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.6675, allocations: 3.062 MB / 0.5486 GB, free: 76.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/0.6682, allocations: 418.7 kB / 0.549 GB, free: 76.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.6685, allocations: 20 kB / 0.549 GB, free: 76.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/0.6692, allocations: 50.05 kB / 0.549 GB, free: 76.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6693, allocations: 54.64 kB / 0.5491 GB, free: 76.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.6694, allocations: 24.12 kB / 0.5491 GB, free: 76.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002234/0.6716, allocations: 1.63 MB / 0.5507 GB, free: 76.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6716, allocations: 0 / 0.5507 GB, free: 76.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003172/0.6748, allocations: 0.5967 MB / 0.5513 GB, free: 75.98 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.000356/0.6752, allocations: 148.7 kB / 0.5514 GB, free: 75.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004825/0.68, allocations: 3.469 MB / 0.5548 GB, free: 73.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.68, allocations: 0 / 0.5548 GB, free: 73.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.6809, allocations: 0.8634 MB / 0.5557 GB, free: 72.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6823, allocations: 203.5 kB / 0.5559 GB, free: 72.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007877/0.6902, allocations: 5.514 MB / 0.5612 GB, free: 66.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.6919, allocations: 2.176 MB / 0.5634 GB, free: 64.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00274/0.6947, allocations: 1.384 MB / 0.5647 GB, free: 63.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.695, allocations: 163.4 kB / 0.5649 GB, free: 62.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.695, allocations: 1.094 kB / 0.5649 GB, free: 62.88 MB / 414.1 MB Notification: Performance of Templates: time 0.03227/0.7273, allocations: 20.27 MB / 0.5847 GB, free: 42.71 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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