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.001135/0.001135, allocations: 107.3 kB / 16.64 MB, free: 6.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.001058/0.001058, allocations: 190 kB / 17.56 MB, free: 5.922 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.348/1.348, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.2001/0.2001, allocations: 43.52 MB / 314.3 MB, free: 0.707 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.001579/0.001579, allocations: 66.36 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09825, allocations: 57.79 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01486/0.1131, allocations: 17.29 MB / 457.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008511/0.1217, allocations: 4.056 MB / 462 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.1251, allocations: 63.88 kB / 462.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.1276, allocations: 0.9854 MB / 463 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.1299, allocations: 0.7857 MB / 463.8 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.1309, allocations: 279.5 kB / 464.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.1337, allocations: 1.935 MB / 466 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.1358, allocations: 1.349 MB / 467.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1371, allocations: 0.7277 MB / 468.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1388, allocations: 1.098 MB / 469.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004638/0.1392, allocations: 131.9 kB / 469.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1407, allocations: 0.7253 MB / 470.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1418, allocations: 0.9505 MB / 471 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.1433, allocations: 1.157 MB / 472.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.1465, allocations: 2.893 MB / 475.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1465, allocations: 7.938 kB / 475.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1466, allocations: 0 / 475.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001223/0.1467, allocations: 4 kB / 475.1 MB, free: 4.805 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.004917/0.1516, allocations: 2.649 MB / 477.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1517, allocations: 15.89 kB / 477.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.1567, allocations: 1.569 MB / 479.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.1587, allocations: 1.069 MB / 480.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.1588, allocations: 115.3 kB / 480.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.1592, allocations: 160 kB / 480.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008445/0.1676, allocations: 6.19 MB / 486.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.1677, allocations: 31.69 kB / 486.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.1679, allocations: 75.89 kB / 486.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002256/0.1702, allocations: 1.445 MB / 488.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008975/0.1792, allocations: 5.389 MB / 493.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.2057, allocations: 24.87 MB / 0.5065 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/0.2101, allocations: 2.336 MB / 0.5088 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.2113, allocations: 1.003 MB / 0.5098 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.2117, allocations: 327.6 kB / 0.5101 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2117, allocations: 46.67 kB / 0.5101 GB, free: 3.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.2117, allocations: 3.938 kB / 0.5101 GB, free: 3.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02168/0.2334, allocations: 8.432 MB / 0.5183 GB, free: 11.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.2335, allocations: 140.6 kB / 0.5185 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.2369, allocations: 2.64 MB / 0.5211 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.2371, allocations: 45.64 kB / 0.5211 GB, free: 8.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.2384, allocations: 2.024 MB / 0.5231 GB, free: 6.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.2389, allocations: 438.6 kB / 0.5235 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009999/0.2399, allocations: 0.8648 MB / 0.5243 GB, free: 5.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.24, allocations: 305.1 kB / 0.5246 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.2418, allocations: 1.336 MB / 0.5259 GB, free: 3.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1905/0.4323, allocations: 4.101 MB / 0.5299 GB, free: 86.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005587/0.4379, allocations: 5.94 MB / 0.5357 GB, free: 82.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/0.4381, allocations: 28.28 kB / 0.5358 GB, free: 82.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009934/0.448, allocations: 5.486 MB / 0.5411 GB, free: 80.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4482, allocations: 47.28 kB / 0.5412 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/0.4484, allocations: 98.12 kB / 0.5413 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.4496, allocations: 462.6 kB / 0.5417 GB, free: 80.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.4529, allocations: 0.9771 MB / 0.5427 GB, free: 80.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.4571, allocations: 3.671 MB / 0.5462 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/0.4603, allocations: 232.7 kB / 0.5465 GB, free: 77.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006545/0.461, allocations: 271.6 kB / 0.5467 GB, free: 77.9 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.001881/0.4628, allocations: 1.367 MB / 0.5481 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.4632, allocations: 222.2 kB / 0.5483 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.4653, allocations: 1.328 MB / 0.5496 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4653, allocations: 17.5 kB / 0.5496 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4653, allocations: 0.8125 kB / 0.5496 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4654, allocations: 11.69 kB / 0.5496 GB, free: 76.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/0.4714, allocations: 4.24 MB / 0.5537 GB, free: 75.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4715, allocations: 0 / 0.5537 GB, free: 75.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.4721, allocations: 138.5 kB / 0.5539 GB, free: 75.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007631/0.4728, allocations: 318.2 kB / 0.5542 GB, free: 75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.4729, allocations: 15.36 kB / 0.5542 GB, free: 75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.4755, allocations: 3.031 MB / 0.5572 GB, free: 72.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4755, allocations: 5.281 kB / 0.5572 GB, free: 72.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.4789, allocations: 3.066 MB / 0.5601 GB, free: 70.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.4797, allocations: 412.4 kB / 0.5605 GB, free: 70.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.48, allocations: 12 kB / 0.5606 GB, free: 70.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.4807, allocations: 57.02 kB / 0.5606 GB, free: 69.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4808, allocations: 59.2 kB / 0.5607 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.4809, allocations: 24 kB / 0.5607 GB, free: 69.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.4828, allocations: 1.632 MB / 0.5623 GB, free: 68.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4828, allocations: 0 / 0.5623 GB, free: 68.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003074/0.4859, allocations: 0.5985 MB / 0.5629 GB, free: 67.69 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.0003197/0.4863, allocations: 147.1 kB / 0.563 GB, free: 67.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004327/0.4906, allocations: 3.467 MB / 0.5664 GB, free: 64.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4906, allocations: 0 / 0.5664 GB, free: 64.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.4915, allocations: 0.8677 MB / 0.5672 GB, free: 63.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.4929, allocations: 204.5 kB / 0.5674 GB, free: 63.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.501, allocations: 6.948 MB / 0.5742 GB, free: 56.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.5025, allocations: 2.17 MB / 0.5763 GB, free: 53.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.5031, allocations: 191.4 kB / 0.5765 GB, free: 53.68 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5031, allocations: 0 / 0.5765 GB, free: 53.68 MB / 414.1 MB Notification: Performance of Templates: time 0.04898/0.5521, allocations: 45.72 MB / 0.6212 GB, free: 7.98 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/jenkins1/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_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches