Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.93 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 67.89 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3278, allocations: 66.02 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009089/0.3369, allocations: 6.834 MB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.3425, allocations: 2.465 MB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.3432, allocations: 35.81 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.3456, allocations: 1.07 MB / 0.5713 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.348, allocations: 0.8675 MB / 0.5721 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.3488, allocations: 307.2 kB / 0.5724 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.3516, allocations: 1.872 MB / 0.5742 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.3535, allocations: 1.099 MB / 0.5753 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3549, allocations: 0.7122 MB / 0.576 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3565, allocations: 1.066 MB / 0.577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.3568, allocations: 128 kB / 0.5772 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3582, allocations: 0.7683 MB / 0.5779 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009488/0.3591, allocations: 0.954 MB / 0.5789 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.3603, allocations: 1.129 MB / 0.58 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.3653, allocations: 3.729 MB / 0.5836 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3653, allocations: 0 / 0.5836 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3653, allocations: 0 / 0.5836 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.776e-05/0.3653, allocations: 0 / 0.5836 GB, free: 13.3 MB / 430.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.005339/0.3707, allocations: 2.643 MB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.3707, allocations: 16.03 kB / 0.5862 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.3764, allocations: 1.575 MB / 0.5877 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.3788, allocations: 1.023 MB / 0.5887 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3789, allocations: 115.3 kB / 0.5888 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.3792, allocations: 164 kB / 0.589 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009636/0.3889, allocations: 6.174 MB / 0.595 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.3889, allocations: 27.75 kB / 0.5951 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.3892, allocations: 83.89 kB / 0.5951 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/0.3917, allocations: 1.437 MB / 0.5965 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.4019, allocations: 5.393 MB / 0.6018 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.4347, allocations: 24.71 MB / 0.6259 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.4395, allocations: 1.813 MB / 0.6277 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4408, allocations: 0.8785 MB / 0.6286 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.4411, allocations: 99.72 kB / 0.6287 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4412, allocations: 50.48 kB / 0.6287 GB, free: 13.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.4412, allocations: 0 / 0.6287 GB, free: 13.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02499/0.4662, allocations: 8.333 MB / 0.6368 GB, free: 5.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4663, allocations: 140.6 kB / 0.637 GB, free: 5.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.47, allocations: 2.644 MB / 0.6396 GB, free: 2.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.4702, allocations: 37.7 kB / 0.6396 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.4718, allocations: 2.112 MB / 0.6417 GB, free: 260 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.4723, allocations: 452.6 kB / 0.6421 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.4734, allocations: 0.8734 MB / 0.6429 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4735, allocations: 301.1 kB / 0.6432 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.4756, allocations: 1.336 MB / 0.6445 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.4801, allocations: 4.108 MB / 0.6485 GB, free: 7.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007526/0.4876, allocations: 5.94 MB / 0.6543 GB, free: 460 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.147e-05/0.4877, allocations: 28 kB / 0.6544 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01032/0.498, allocations: 5.491 MB / 0.6597 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.4981, allocations: 48 kB / 0.6598 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.4982, allocations: 100 kB / 0.6599 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4994, allocations: 460.9 kB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.5023, allocations: 0.9708 MB / 0.6613 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.507, allocations: 3.565 MB / 0.6647 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.5097, allocations: 231.7 kB / 0.665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/0.5101, allocations: 271.9 kB / 0.6652 GB, free: 5.18 MB / 0.4981 GB 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.002091/0.5122, allocations: 1.376 MB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.5126, allocations: 230.7 kB / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.5152, allocations: 1.318 MB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.5152, allocations: 15.94 kB / 0.6681 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5152, allocations: 7.938 kB / 0.6681 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5153, allocations: 7.984 kB / 0.6681 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/0.5232, allocations: 4.178 MB / 0.6722 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5232, allocations: 0 / 0.6722 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.5239, allocations: 135.8 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/0.5249, allocations: 312.5 kB / 0.6726 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.5249, allocations: 20 kB / 0.6726 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.529, allocations: 2.962 MB / 0.6755 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.529, allocations: 4.031 kB / 0.6755 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/0.5338, allocations: 3.072 MB / 0.6785 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.5344, allocations: 214.3 kB / 0.6787 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.5346, allocations: 15.94 kB / 0.6787 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.5353, allocations: 52 kB / 0.6788 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5355, allocations: 60.33 kB / 0.6788 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.5356, allocations: 32 kB / 0.6789 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002635/0.5382, allocations: 1.625 MB / 0.6805 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5382, allocations: 0 / 0.6805 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003064/0.5413, allocations: 0.5897 MB / 0.681 GB, free: 4.738 MB / 0.5137 GB 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.0003243/0.5416, allocations: 147 kB / 0.6812 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005174/0.5467, allocations: 3.095 MB / 0.6842 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5468, allocations: 0 / 0.6842 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.548, allocations: 0.8063 MB / 0.685 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5492, allocations: 214.2 kB / 0.6852 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.5589, allocations: 5.567 MB / 0.6906 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.5614, allocations: 2.174 MB / 0.6928 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003084/0.5645, allocations: 1.379 MB / 0.6941 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5648, allocations: 159.4 kB / 0.6943 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.5649, allocations: 3.938 kB / 0.6943 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.0466/0.6114, allocations: 21.27 MB / 0.715 GB, free: 1.891 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6419492058921605]