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.001491/0.001492, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001488/0.001488, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2068/0.2068, allocations: 44.17 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.2 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007822/0.1113, allocations: 6.787 MB / 476.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.1159, allocations: 2.391 MB / 479.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.1167, allocations: 31.94 kB / 479.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.1188, allocations: 1.028 MB / 480.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.1209, allocations: 0.8557 MB / 481 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.1217, allocations: 295.3 kB / 481.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.124, allocations: 1.895 MB / 483.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.1255, allocations: 1.256 MB / 484.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1266, allocations: 0.7199 MB / 485.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1278, allocations: 0.9653 MB / 486.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.1282, allocations: 128 kB / 486.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1295, allocations: 0.7253 MB / 487 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.1303, allocations: 0.9271 MB / 487.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.1314, allocations: 1.145 MB / 489.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.1352, allocations: 3.566 MB / 492.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1352, allocations: 0 / 492.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1352, allocations: 0 / 492.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.962e-05/0.1353, allocations: 0 / 492.6 MB, free: 7.543 MB / 366.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.00492/0.1402, allocations: 2.657 MB / 495.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1403, allocations: 8.031 kB / 495.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.1459, allocations: 1.569 MB / 496.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.1478, allocations: 1.065 MB / 497.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.1479, allocations: 115.3 kB / 498 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.1483, allocations: 164 kB / 498.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009129/0.1574, allocations: 6.182 MB / 0.4926 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.1575, allocations: 27.75 kB / 0.4926 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.1578, allocations: 79.89 kB / 0.4927 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002473/0.1603, allocations: 1.456 MB / 0.4941 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009591/0.1699, allocations: 5.389 MB / 0.4994 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2138/0.3837, allocations: 24.85 MB / 0.5236 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/0.3885, allocations: 2.354 MB / 0.5259 GB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3899, allocations: 0.9882 MB / 0.5269 GB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.3903, allocations: 320.8 kB / 0.5272 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3903, allocations: 46.64 kB / 0.5272 GB, free: 26.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.848e-06/0.3903, allocations: 0 / 0.5272 GB, free: 26.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02169/0.412, allocations: 8.447 MB / 0.5355 GB, free: 22.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4121, allocations: 137.5 kB / 0.5356 GB, free: 22.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/0.4151, allocations: 2.645 MB / 0.5382 GB, free: 21.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.4152, allocations: 41.67 kB / 0.5382 GB, free: 21.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008233/0.416, allocations: 2.021 MB / 0.5402 GB, free: 19.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.4164, allocations: 432 kB / 0.5406 GB, free: 19.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000786/0.4172, allocations: 0.8649 MB / 0.5415 GB, free: 18.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.4172, allocations: 305.1 kB / 0.5418 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.4187, allocations: 1.335 MB / 0.5431 GB, free: 17.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.4212, allocations: 4.101 MB / 0.5471 GB, free: 13.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.4257, allocations: 5.936 MB / 0.5529 GB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-05/0.4259, allocations: 31.94 kB / 0.5529 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008085/0.4339, allocations: 5.479 MB / 0.5582 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.434, allocations: 48 kB / 0.5583 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.944e-05/0.4341, allocations: 104.2 kB / 0.5584 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009534/0.4351, allocations: 462.9 kB / 0.5588 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.438, allocations: 0.9785 MB / 0.5598 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.4423, allocations: 3.676 MB / 0.5634 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.4452, allocations: 231.6 kB / 0.5636 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/0.4457, allocations: 275.9 kB / 0.5639 GB, free: 10.71 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 (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.002061/0.4478, allocations: 1.372 MB / 0.5652 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.4483, allocations: 213.2 kB / 0.5654 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.4507, allocations: 1.326 MB / 0.5667 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/0.4508, allocations: 15.94 kB / 0.5667 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.4508, allocations: 4 kB / 0.5667 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4508, allocations: 3.984 kB / 0.5667 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00793/0.4587, allocations: 4.239 MB / 0.5709 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.4588, allocations: 7.938 kB / 0.5709 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.4595, allocations: 139.8 kB / 0.571 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/0.4604, allocations: 312.4 kB / 0.5713 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.4605, allocations: 20 kB / 0.5713 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.4639, allocations: 3.032 MB / 0.5743 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4639, allocations: 4.031 kB / 0.5743 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/0.4683, allocations: 3.069 MB / 0.5773 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.4689, allocations: 270.2 kB / 0.5775 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.4692, allocations: 21.44 kB / 0.5776 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.4699, allocations: 45.89 kB / 0.5776 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.4701, allocations: 56.3 kB / 0.5777 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.4702, allocations: 28 kB / 0.5777 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002379/0.4725, allocations: 1.629 MB / 0.5793 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4726, allocations: 4.062 kB / 0.5793 GB, free: 10.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003223/0.4758, allocations: 0.5983 MB / 0.5799 GB, free: 10.08 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.0003927/0.4762, allocations: 139.8 kB / 0.58 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005433/0.4816, allocations: 3.477 MB / 0.5834 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4817, allocations: 0 / 0.5834 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.4829, allocations: 0.8612 MB / 0.5842 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.4844, allocations: 207 kB / 0.5844 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/0.4944, allocations: 5.802 MB / 0.5901 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.4967, allocations: 2.175 MB / 0.5922 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/0.4973, allocations: 187.4 kB / 0.5924 GB, free: 13.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4974, allocations: 0 / 0.5924 GB, free: 13.18 MB / 430.1 MB Notification: Performance of Templates: time 0.06329/0.5606, allocations: 45.76 MB / 0.6371 GB, free: 15.46 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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