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.001388/0.001388, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001446/0.001446, allocations: 191 kB / 19.34 MB, free: 3.641 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.328/1.328, allocations: 222.9 MB / 243 MB, free: 15.12 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.201/0.201, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 70.81 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007474/0.1105, allocations: 6.78 MB / 477.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.115, allocations: 2.395 MB / 479.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.1156, allocations: 31.94 kB / 479.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.1175, allocations: 1.039 MB / 481 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1193, allocations: 0.8518 MB / 481.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.12, allocations: 295.3 kB / 482.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1222, allocations: 1.888 MB / 484 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.1236, allocations: 1.268 MB / 485.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.1246, allocations: 0.716 MB / 486 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1257, allocations: 0.9691 MB / 486.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.1259, allocations: 132 kB / 487.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1271, allocations: 0.7176 MB / 487.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000797/0.1279, allocations: 0.9387 MB / 488.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.1289, allocations: 1.137 MB / 489.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.1323, allocations: 3.74 MB / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1323, allocations: 0 / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1323, allocations: 0 / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.1324, allocations: 0 / 493.6 MB, free: 6.668 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.004067/0.1365, allocations: 2.66 MB / 496.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1365, allocations: 8.031 kB / 496.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.1416, allocations: 1.577 MB / 497.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.1439, allocations: 1.077 MB / 498.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.144, allocations: 119.3 kB / 499 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.1443, allocations: 156 kB / 499.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008203/0.1525, allocations: 6.186 MB / 0.4935 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.1526, allocations: 23.81 kB / 0.4935 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.1528, allocations: 87.89 kB / 0.4936 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.155, allocations: 1.445 MB / 0.495 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008745/0.1637, allocations: 5.389 MB / 0.5003 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2161/0.3799, allocations: 24.75 MB / 0.5245 GB, free: 28.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004845/0.3847, allocations: 2.349 MB / 0.5268 GB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3862, allocations: 0.9824 MB / 0.5277 GB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.3866, allocations: 331.8 kB / 0.528 GB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3867, allocations: 50.05 kB / 0.5281 GB, free: 26.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.729e-06/0.3867, allocations: 0 / 0.5281 GB, free: 26.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02199/0.4087, allocations: 8.431 MB / 0.5363 GB, free: 22.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.4088, allocations: 147.9 kB / 0.5365 GB, free: 22.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.4117, allocations: 2.641 MB / 0.539 GB, free: 21.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4118, allocations: 41.39 kB / 0.5391 GB, free: 21.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.4128, allocations: 2.029 MB / 0.5411 GB, free: 19.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.4132, allocations: 435.1 kB / 0.5415 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008112/0.414, allocations: 0.8654 MB / 0.5423 GB, free: 18.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.414, allocations: 301.1 kB / 0.5426 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4154, allocations: 1.341 MB / 0.5439 GB, free: 17.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.4179, allocations: 4.104 MB / 0.5479 GB, free: 12.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004254/0.4221, allocations: 5.933 MB / 0.5537 GB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.761e-05/0.4222, allocations: 28 kB / 0.5538 GB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007043/0.4293, allocations: 5.486 MB / 0.5591 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.4293, allocations: 48 kB / 0.5592 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.122e-05/0.4294, allocations: 97.31 kB / 0.5592 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4306, allocations: 465 kB / 0.5597 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.4334, allocations: 0.9708 MB / 0.5606 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.4376, allocations: 3.68 MB / 0.5642 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.4403, allocations: 231.6 kB / 0.5645 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/0.4407, allocations: 272 kB / 0.5647 GB, free: 9.914 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.001876/0.4426, allocations: 1.368 MB / 0.566 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.443, allocations: 213.2 kB / 0.5663 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.4453, allocations: 1.326 MB / 0.5675 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.4453, allocations: 15.52 kB / 0.5676 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.4453, allocations: 7.938 kB / 0.5676 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4453, allocations: 3.984 kB / 0.5676 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/0.4534, allocations: 4.23 MB / 0.5717 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4534, allocations: 3.938 kB / 0.5717 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.454, allocations: 131.9 kB / 0.5718 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/0.4549, allocations: 320.4 kB / 0.5721 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.4549, allocations: 20 kB / 0.5722 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.4584, allocations: 3.03 MB / 0.5751 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4585, allocations: 0.875 kB / 0.5751 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004748/0.4632, allocations: 3.069 MB / 0.5781 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008932/0.4641, allocations: 278.2 kB / 0.5784 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.4644, allocations: 16 kB / 0.5784 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.4651, allocations: 45.97 kB / 0.5784 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.4653, allocations: 56.3 kB / 0.5785 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.4654, allocations: 28 kB / 0.5785 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.4677, allocations: 1.625 MB / 0.5801 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4677, allocations: 0 / 0.5801 GB, free: 9.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003306/0.471, allocations: 0.6087 MB / 0.5807 GB, free: 9.297 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.0003212/0.4714, allocations: 145.3 kB / 0.5808 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004808/0.4762, allocations: 3.225 MB / 0.584 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4762, allocations: 4.625 kB / 0.584 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4774, allocations: 0.8526 MB / 0.5848 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.4788, allocations: 216.6 kB / 0.585 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008304/0.4871, allocations: 5.449 MB / 0.5904 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.4893, allocations: 2.171 MB / 0.5925 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002839/0.4921, allocations: 1.391 MB / 0.5938 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.4925, allocations: 155.4 kB / 0.594 GB, free: 11.64 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4925, allocations: 0 / 0.594 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Templates: time 0.054/0.5465, allocations: 16.71 MB / 0.6103 GB, free: 11.01 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 -s gbode -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