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.001492/0.001492, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.0019/0.0019, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2465/0.2465, allocations: 46.93 MB / 357.1 MB, free: 10.4 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.002072/0.002072, allocations: 63.91 kB / 0.4914 GB, free: 7.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 65.99 MB / 0.5558 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01262/0.1521, allocations: 6.802 MB / 0.5625 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.1589, allocations: 2.442 MB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1601, allocations: 35.88 kB / 0.5649 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.1632, allocations: 1.082 MB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.1664, allocations: 0.8558 MB / 0.5668 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.1674, allocations: 299.3 kB / 0.5671 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.1699, allocations: 1.864 MB / 0.5689 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.1718, allocations: 1.092 MB / 0.57 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.1734, allocations: 0.716 MB / 0.5707 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.1751, allocations: 1.066 MB / 0.5717 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.1754, allocations: 128 kB / 0.5718 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.1769, allocations: 0.7644 MB / 0.5726 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009658/0.1779, allocations: 0.9501 MB / 0.5735 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.179, allocations: 1.118 MB / 0.5746 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.1852, allocations: 3.734 MB / 0.5782 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1852, allocations: 4 kB / 0.5782 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1852, allocations: 4 kB / 0.5782 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001134/0.1853, allocations: 0 / 0.5782 GB, free: 14.39 MB / 446.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.007351/0.1927, allocations: 2.719 MB / 0.5809 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.1927, allocations: 8.031 kB / 0.5809 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008428/0.2012, allocations: 1.582 MB / 0.5825 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.2043, allocations: 1.081 MB / 0.5835 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.2045, allocations: 115.3 kB / 0.5836 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.205, allocations: 168 kB / 0.5838 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.2194, allocations: 6.186 MB / 0.5898 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/0.2194, allocations: 23.75 kB / 0.5898 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.2197, allocations: 79.89 kB / 0.5899 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.2224, allocations: 1.441 MB / 0.5913 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2383/0.4606, allocations: 5.39 MB / 0.5966 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.4894, allocations: 24.82 MB / 0.6208 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/0.4938, allocations: 2.264 MB / 0.623 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.4948, allocations: 0.8774 MB / 0.6239 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.4951, allocations: 325.1 kB / 0.6242 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4951, allocations: 43.33 kB / 0.6242 GB, free: 11.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.966e-06/0.4951, allocations: 4.719 kB / 0.6242 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02104/0.5161, allocations: 8.568 MB / 0.6326 GB, free: 7.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.5162, allocations: 136.1 kB / 0.6327 GB, free: 6.883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.5189, allocations: 2.641 MB / 0.6353 GB, free: 5.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.519, allocations: 41.67 kB / 0.6354 GB, free: 5.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/0.5198, allocations: 2.112 MB / 0.6374 GB, free: 3.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5202, allocations: 455.8 kB / 0.6379 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/0.5209, allocations: 0.8696 MB / 0.6387 GB, free: 2.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.521, allocations: 309.1 kB / 0.639 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.5224, allocations: 1.336 MB / 0.6403 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/0.5267, allocations: 4.1 MB / 0.6443 GB, free: 11.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/0.5345, allocations: 5.937 MB / 0.6501 GB, free: 3.902 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.543e-05/0.5346, allocations: 28 kB / 0.6501 GB, free: 3.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01154/0.5461, allocations: 5.491 MB / 0.6555 GB, free: 14.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/0.5462, allocations: 51.94 kB / 0.6555 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/0.5464, allocations: 96.88 kB / 0.6556 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.5475, allocations: 469.3 kB / 0.6561 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.5506, allocations: 0.9708 MB / 0.657 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.5556, allocations: 3.677 MB / 0.6606 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.5586, allocations: 227.7 kB / 0.6608 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/0.5591, allocations: 275.9 kB / 0.6611 GB, free: 8.512 MB / 478.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.002203/0.5613, allocations: 1.366 MB / 0.6624 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.5617, allocations: 226.5 kB / 0.6627 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.5644, allocations: 1.325 MB / 0.6639 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.5644, allocations: 12 kB / 0.664 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5645, allocations: 4 kB / 0.664 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5645, allocations: 3.984 kB / 0.664 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008354/0.5728, allocations: 4.195 MB / 0.6681 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5728, allocations: 3.938 kB / 0.6681 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.5735, allocations: 139.8 kB / 0.6682 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/0.5745, allocations: 313.2 kB / 0.6685 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.5746, allocations: 19.98 kB / 0.6685 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.5785, allocations: 3.073 MB / 0.6715 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5785, allocations: 4.031 kB / 0.6715 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/0.5834, allocations: 3.075 MB / 0.6745 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006949/0.5841, allocations: 279.6 kB / 0.6748 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.5844, allocations: 35.38 kB / 0.6748 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/0.5852, allocations: 43.94 kB / 0.6749 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.5853, allocations: 52.38 kB / 0.6749 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.5854, allocations: 24 kB / 0.6749 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002632/0.588, allocations: 1.628 MB / 0.6765 GB, free: 8.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.588, allocations: 0 / 0.6765 GB, free: 8.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003351/0.5914, allocations: 0.5863 MB / 0.6771 GB, free: 7.879 MB / 494.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.0003708/0.5918, allocations: 146.8 kB / 0.6772 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005418/0.5972, allocations: 3.101 MB / 0.6803 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5972, allocations: 0 / 0.6803 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.5985, allocations: 0.8095 MB / 0.6811 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6001, allocations: 203.9 kB / 0.6813 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6105, allocations: 5.527 MB / 0.6867 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/0.6129, allocations: 2.163 MB / 0.6888 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00322/0.6161, allocations: 1.387 MB / 0.6901 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.6165, allocations: 155.4 kB / 0.6903 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.6165, allocations: 0 / 0.6903 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.04271/0.6593, allocations: 18.43 MB / 0.7083 GB, free: 7.992 MB / 0.5137 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.48943380638957]