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.001231/0.001232, allocations: 93.92 kB / 16.98 MB, free: 5.938 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.001342/0.001342, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2204/0.2204, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005085, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1578, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01469/0.1725, allocations: 14.72 MB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.1818, allocations: 3.979 MB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.1843, allocations: 71.88 kB / 490.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.1868, allocations: 0.6921 MB / 490.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.1935, allocations: 2.127 MB / 493 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1945, allocations: 191.6 kB / 493.2 MB, free: 7.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.1977, allocations: 1.114 MB / 494.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/0.2008, allocations: 1.492 MB / 495.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.2017, allocations: 0.5488 MB / 496.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.2027, allocations: 0.6851 MB / 497.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.203, allocations: 72 kB / 497.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.2043, allocations: 0.5929 MB / 497.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.2051, allocations: 0.8026 MB / 498.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.2055, allocations: 484.1 kB / 499 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.2087, allocations: 2.79 MB / 0.49 GB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2087, allocations: 4 kB / 0.49 GB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.2087, allocations: 0 / 0.49 GB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.387e-05/0.2088, allocations: 0 / 0.49 GB, free: 15.28 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.004474/0.2133, allocations: 2.275 MB / 0.4923 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2134, allocations: 8.031 kB / 0.4923 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/0.2195, allocations: 1.888 MB / 0.4941 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.222, allocations: 1.048 MB / 0.4951 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.2221, allocations: 122.8 kB / 0.4952 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.2224, allocations: 163.8 kB / 0.4954 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2325, allocations: 6.206 MB / 0.5015 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.818e-05/0.2327, allocations: 31.66 kB / 0.5015 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.2329, allocations: 79.83 kB / 0.5016 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/0.2357, allocations: 1.441 MB / 0.503 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2381/0.4738, allocations: 5.399 MB / 0.5082 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.5012, allocations: 24.89 MB / 0.5326 GB, free: 26.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.5054, allocations: 2.382 MB / 0.5349 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.5057, allocations: 317.2 kB / 0.5352 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.5057, allocations: 43.03 kB / 0.5352 GB, free: 24.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.927e-06/0.5058, allocations: 3.984 kB / 0.5352 GB, free: 24.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02034/0.5261, allocations: 8.796 MB / 0.5438 GB, free: 18.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.5262, allocations: 136.5 kB / 0.5439 GB, free: 18.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.5292, allocations: 2.628 MB / 0.5465 GB, free: 15.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.5294, allocations: 37.7 kB / 0.5466 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009623/0.5303, allocations: 2.024 MB / 0.5485 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.5307, allocations: 443.7 kB / 0.549 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5308, allocations: 84 kB / 0.549 GB, free: 13.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.531, allocations: 495.4 kB / 0.5495 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.5326, allocations: 1.312 MB / 0.5508 GB, free: 11.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.5354, allocations: 4.073 MB / 0.5548 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.5383, allocations: 2.303 MB / 0.557 GB, free: 3.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.337e-05/0.5384, allocations: 31.95 kB / 0.557 GB, free: 3.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008806/0.5472, allocations: 5.45 MB / 0.5624 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.5473, allocations: 48 kB / 0.5624 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.5474, allocations: 99.38 kB / 0.5625 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.5485, allocations: 476.8 kB / 0.563 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.5514, allocations: 0.9747 MB / 0.5639 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.5555, allocations: 3.465 MB / 0.5673 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.5584, allocations: 232.8 kB / 0.5675 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/0.5588, allocations: 268 kB / 0.5678 GB, free: 8.625 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.002038/0.5608, allocations: 1.365 MB / 0.5691 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.5611, allocations: 213.2 kB / 0.5693 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.5634, allocations: 1.33 MB / 0.5706 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.5634, allocations: 12.7 kB / 0.5706 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5634, allocations: 0 / 0.5706 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.5634, allocations: 11.97 kB / 0.5706 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/0.5707, allocations: 4.244 MB / 0.5748 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5708, allocations: 0 / 0.5748 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.5714, allocations: 135.8 kB / 0.5749 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008245/0.5722, allocations: 320.5 kB / 0.5752 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.5723, allocations: 14.52 kB / 0.5752 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.5755, allocations: 2.897 MB / 0.5781 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5755, allocations: 0 / 0.5781 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/0.5797, allocations: 3.112 MB / 0.5811 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.5803, allocations: 286.5 kB / 0.5814 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.5805, allocations: 20.06 kB / 0.5814 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.5812, allocations: 45.42 kB / 0.5814 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.5813, allocations: 60.31 kB / 0.5815 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.5814, allocations: 24 kB / 0.5815 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.5838, allocations: 1.625 MB / 0.5831 GB, free: 8.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5838, allocations: 0 / 0.5831 GB, free: 8.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003178/0.587, allocations: 0.6075 MB / 0.5837 GB, free: 8.066 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.0003408/0.5874, allocations: 140.6 kB / 0.5838 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00529/0.5927, allocations: 3.192 MB / 0.5869 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5927, allocations: 3.938 kB / 0.5869 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5938, allocations: 0.8599 MB / 0.5878 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.595, allocations: 181.7 kB / 0.588 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00993/0.6049, allocations: 6.413 MB / 0.5942 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.607, allocations: 2.226 MB / 0.5964 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003192/0.6102, allocations: 1.391 MB / 0.5978 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.6107, allocations: 159.4 kB / 0.5979 GB, free: 9.422 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6107, allocations: 0 / 0.5979 GB, free: 9.422 MB / 430.1 MB Notification: Performance of Templates: time 0.03518/0.6459, allocations: 18.99 MB / 0.6165 GB, free: 6.535 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches