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.001611/0.001611, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001614/0.001614, allocations: 209 kB / 24.48 MB, free: 3.938 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.639/1.639, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2841/0.2841, allocations: 46.97 MB / 361.6 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 179] 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.002088/0.002088, allocations: 71.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009326/0.3681, allocations: 6.047 MB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005221/0.3734, allocations: 2.302 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.3742, allocations: 39.88 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3765, allocations: 1.028 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.3789, allocations: 0.8675 MB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.3798, allocations: 315.2 kB / 0.5721 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.3823, allocations: 1.868 MB / 0.574 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3837, allocations: 1.083 MB / 0.575 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.3847, allocations: 0.7277 MB / 0.5757 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3861, allocations: 1.02 MB / 0.5767 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.3864, allocations: 128 kB / 0.5768 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3876, allocations: 0.6395 MB / 0.5775 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000903/0.3885, allocations: 0.9501 MB / 0.5784 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008545/0.3894, allocations: 0.7873 MB / 0.5792 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.3937, allocations: 3.734 MB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3937, allocations: 4 kB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3937, allocations: 0 / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.268e-05/0.3937, allocations: 0 / 0.5828 GB, free: 14.56 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.004801/0.3985, allocations: 2.651 MB / 0.5854 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3986, allocations: 12.03 kB / 0.5854 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/0.4038, allocations: 1.578 MB / 0.587 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.4071, allocations: 1.031 MB / 0.588 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.4073, allocations: 115.3 kB / 0.5881 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.4077, allocations: 164 kB / 0.5882 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.4188, allocations: 6.182 MB / 0.5943 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/0.4189, allocations: 23.75 kB / 0.5943 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.4191, allocations: 79.89 kB / 0.5944 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002534/0.4217, allocations: 1.441 MB / 0.5958 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.4318, allocations: 5.385 MB / 0.601 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.4638, allocations: 23.33 MB / 0.6238 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/0.4684, allocations: 1.808 MB / 0.6256 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.4697, allocations: 0.8824 MB / 0.6265 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.4699, allocations: 87.8 kB / 0.6265 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.47, allocations: 54.38 kB / 0.6266 GB, free: 328 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.689e-06/0.47, allocations: 0 / 0.6266 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02396/0.4939, allocations: 8.355 MB / 0.6347 GB, free: 7.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4941, allocations: 136.5 kB / 0.6349 GB, free: 7.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.4995, allocations: 2.449 MB / 0.6373 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.4999, allocations: 41.7 kB / 0.6373 GB, free: 5.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/0.5024, allocations: 2.139 MB / 0.6394 GB, free: 3.027 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000759/0.5032, allocations: 452.6 kB / 0.6398 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.5052, allocations: 0.8812 MB / 0.6407 GB, free: 1.688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.5054, allocations: 334 kB / 0.641 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.5078, allocations: 1.34 MB / 0.6423 GB, free: 8 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004858/0.5126, allocations: 4.104 MB / 0.6463 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/0.5206, allocations: 5.937 MB / 0.6521 GB, free: 3.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.5208, allocations: 32 kB / 0.6522 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01165/0.5324, allocations: 5.46 MB / 0.6575 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.5326, allocations: 51.94 kB / 0.6575 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/0.5328, allocations: 96 kB / 0.6576 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.534, allocations: 461 kB / 0.6581 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.5373, allocations: 0.9825 MB / 0.659 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004773/0.542, allocations: 3.507 MB / 0.6624 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.5453, allocations: 231.7 kB / 0.6627 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008515/0.5461, allocations: 268 kB / 0.6629 GB, free: 8.004 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.003116/0.5492, allocations: 1.372 MB / 0.6643 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.5498, allocations: 206.6 kB / 0.6645 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.5526, allocations: 1.295 MB / 0.6657 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/0.5527, allocations: 15.98 kB / 0.6657 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.5527, allocations: 8 kB / 0.6657 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5527, allocations: 3.984 kB / 0.6658 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.5617, allocations: 3.602 MB / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5617, allocations: 0 / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007294/0.5625, allocations: 147.8 kB / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/0.5634, allocations: 316.5 kB / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5635, allocations: 12 kB / 0.6697 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.5673, allocations: 2.92 MB / 0.6726 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5673, allocations: 3.984 kB / 0.6726 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004847/0.5722, allocations: 3.057 MB / 0.6756 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.5728, allocations: 174.5 kB / 0.6757 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/0.5732, allocations: 19.94 kB / 0.6758 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/0.5742, allocations: 43.94 kB / 0.6758 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5744, allocations: 64.2 kB / 0.6759 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/0.5744, allocations: 28 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00283/0.5773, allocations: 1.374 MB / 0.6772 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5773, allocations: 4 kB / 0.6772 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00411/0.5814, allocations: 0.5781 MB / 0.6778 GB, free: 8.543 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.0005039/0.5819, allocations: 143 kB / 0.6779 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005778/0.5877, allocations: 3.095 MB / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5877, allocations: 0.5 kB / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.589, allocations: 0.8092 MB / 0.6817 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5907, allocations: 174.3 kB / 0.6819 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6044, allocations: 5.818 MB / 0.6876 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/0.6077, allocations: 1.601 MB / 0.6892 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/0.6083, allocations: 179.4 kB / 0.6893 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/0.6083, allocations: 0 / 0.6893 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.3615/0.9698, allocations: 45.7 MB / 0.734 GB, free: 157 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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: 11.588963290210813]