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.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.001562/0.001562, 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.001907/0.001907, 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.574/1.574, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 44.93 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 63.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4286, allocations: 65.47 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008981/0.4375, allocations: 6.043 MB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.4431, allocations: 2.298 MB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/0.4439, allocations: 35.88 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.4462, allocations: 1.031 MB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.4484, allocations: 0.8636 MB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.4492, allocations: 311.2 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.4519, allocations: 1.868 MB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.4532, allocations: 1.09 MB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000975/0.4542, allocations: 0.7199 MB / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4556, allocations: 1.024 MB / 0.5731 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.4559, allocations: 128 kB / 0.5732 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.4572, allocations: 0.6357 MB / 0.5738 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.4581, allocations: 0.9462 MB / 0.5748 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000821/0.4589, allocations: 0.799 MB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.4631, allocations: 3.738 MB / 0.5792 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4631, allocations: 0 / 0.5792 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.4631, allocations: 3.984 kB / 0.5792 GB, free: 1.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.096e-05/0.4632, allocations: 0 / 0.5792 GB, free: 1.883 MB / 414.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.005874/0.4691, allocations: 2.64 MB / 0.5818 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.4691, allocations: 8.031 kB / 0.5818 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.4746, allocations: 1.586 MB / 0.5833 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.4773, allocations: 1.031 MB / 0.5843 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.4774, allocations: 115.3 kB / 0.5845 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.4778, allocations: 164 kB / 0.5846 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/0.4878, allocations: 6.171 MB / 0.5906 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.79e-05/0.4879, allocations: 31.73 kB / 0.5907 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.4882, allocations: 83.89 kB / 0.5907 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.4908, allocations: 1.445 MB / 0.5922 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.5015, allocations: 5.381 MB / 0.5974 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/0.536, allocations: 23.34 MB / 0.6202 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004715/0.5407, allocations: 1.8 MB / 0.622 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.542, allocations: 0.8824 MB / 0.6228 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.5423, allocations: 91.8 kB / 0.6229 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.5423, allocations: 42.5 kB / 0.623 GB, free: 3.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.5423, allocations: 4 kB / 0.623 GB, free: 3.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02439/0.5667, allocations: 8.365 MB / 0.6311 GB, free: 11.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5668, allocations: 140.5 kB / 0.6313 GB, free: 11.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004317/0.5712, allocations: 2.453 MB / 0.6337 GB, free: 8.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5713, allocations: 41.7 kB / 0.6337 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.5733, allocations: 2.139 MB / 0.6358 GB, free: 6.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.5739, allocations: 452.6 kB / 0.6362 GB, free: 5.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.5753, allocations: 0.8734 MB / 0.6371 GB, free: 5.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.5755, allocations: 341.9 kB / 0.6374 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.5779, allocations: 1.332 MB / 0.6387 GB, free: 3.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/0.5831, allocations: 4.108 MB / 0.6427 GB, free: 13.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/0.5912, allocations: 5.934 MB / 0.6485 GB, free: 6.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/0.5913, allocations: 31.94 kB / 0.6485 GB, free: 6.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01121/0.6025, allocations: 5.47 MB / 0.6539 GB, free: 1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.6027, allocations: 48 kB / 0.6539 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/0.6029, allocations: 96 kB / 0.654 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.6041, allocations: 465.1 kB / 0.6545 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6072, allocations: 0.9749 MB / 0.6554 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/0.6118, allocations: 3.519 MB / 0.6588 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.6148, allocations: 223.7 kB / 0.6591 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006896/0.6155, allocations: 272 kB / 0.6593 GB, free: 11.32 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.002943/0.6184, allocations: 1.368 MB / 0.6607 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.619, allocations: 202.6 kB / 0.6608 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.6217, allocations: 1.295 MB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/0.6218, allocations: 19.97 kB / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6218, allocations: 4 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6218, allocations: 3.984 kB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/0.6301, allocations: 3.609 MB / 0.6657 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.6301, allocations: 0 / 0.6657 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.6308, allocations: 131.9 kB / 0.6658 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008685/0.6317, allocations: 320.5 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.6318, allocations: 16 kB / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.6354, allocations: 2.928 MB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6354, allocations: 0 / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/0.6402, allocations: 3.059 MB / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.6409, allocations: 174.5 kB / 0.6721 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005284/0.6414, allocations: 15.94 kB / 0.6721 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.6424, allocations: 47.94 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.6426, allocations: 48.34 kB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.6426, allocations: 31.98 kB / 0.6723 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002689/0.6453, allocations: 1.37 MB / 0.6736 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6453, allocations: 192 / 0.6736 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00356/0.6489, allocations: 0.5859 MB / 0.6742 GB, free: 11.87 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.0003726/0.6492, allocations: 146.9 kB / 0.6743 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005272/0.6545, allocations: 3.1 MB / 0.6773 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6545, allocations: 4 kB / 0.6773 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6558, allocations: 0.8014 MB / 0.6781 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6573, allocations: 167.3 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.6712, allocations: 5.828 MB / 0.684 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.6743, allocations: 1.598 MB / 0.6855 GB, free: 132 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.675, allocations: 175.5 kB / 0.6857 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 2.004e-06/0.675, allocations: 4 kB / 0.6857 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.07625/0.7512, allocations: 45.72 MB / 0.7304 GB, free: 2.266 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.561737608164549]