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.001816/0.001816, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002291/0.002291, allocations: 197.5 kB / 23.72 MB, free: 4.492 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2213/0.2213, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.002161/0.002161, allocations: 71.88 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3437, allocations: 65.47 MB / 0.5574 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009296/0.353, allocations: 6.029 MB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.3582, allocations: 2.298 MB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008555/0.3591, allocations: 39.88 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.3613, allocations: 1.035 MB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.3635, allocations: 0.8636 MB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.3643, allocations: 311.2 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.3667, allocations: 1.868 MB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.3681, allocations: 1.094 MB / 0.5707 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3691, allocations: 0.7122 MB / 0.5714 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3706, allocations: 1.027 MB / 0.5724 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002978/0.3709, allocations: 128 kB / 0.5725 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.3722, allocations: 0.6357 MB / 0.5731 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009601/0.3731, allocations: 0.9424 MB / 0.574 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008991/0.374, allocations: 0.799 MB / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.3784, allocations: 3.738 MB / 0.5785 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3784, allocations: 4 kB / 0.5785 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3784, allocations: 0 / 0.5785 GB, free: 1.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.507e-05/0.3785, allocations: 0 / 0.5785 GB, free: 1.887 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.005687/0.3842, allocations: 2.643 MB / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3842, allocations: 12.03 kB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005497/0.3897, allocations: 1.582 MB / 0.5826 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.3924, allocations: 1.027 MB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3926, allocations: 123.3 kB / 0.5837 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.3929, allocations: 156 kB / 0.5839 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.4033, allocations: 6.19 MB / 0.5899 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-05/0.4033, allocations: 23.81 kB / 0.5899 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.4036, allocations: 83.89 kB / 0.59 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002563/0.4062, allocations: 1.441 MB / 0.5914 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4162, allocations: 5.373 MB / 0.5967 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/0.4439, allocations: 23.34 MB / 0.6195 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.4484, allocations: 1.807 MB / 0.6212 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.4497, allocations: 0.8824 MB / 0.6221 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.4499, allocations: 91.8 kB / 0.6222 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.4499, allocations: 46.5 kB / 0.6222 GB, free: 3.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.347e-06/0.45, allocations: 0 / 0.6222 GB, free: 3.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02242/0.4724, allocations: 8.36 MB / 0.6304 GB, free: 11.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.4725, allocations: 140.5 kB / 0.6305 GB, free: 11.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.4757, allocations: 2.453 MB / 0.6329 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.4758, allocations: 33.7 kB / 0.6329 GB, free: 8.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.4775, allocations: 2.139 MB / 0.635 GB, free: 6.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.4779, allocations: 464.5 kB / 0.6355 GB, free: 5.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4791, allocations: 0.8695 MB / 0.6363 GB, free: 5.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4792, allocations: 341.9 kB / 0.6367 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.4816, allocations: 1.332 MB / 0.638 GB, free: 3.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/0.4866, allocations: 4.104 MB / 0.642 GB, free: 13.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/0.494, allocations: 5.942 MB / 0.6478 GB, free: 6.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-05/0.4941, allocations: 28 kB / 0.6478 GB, free: 6.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009781/0.5039, allocations: 5.46 MB / 0.6531 GB, free: 1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.504, allocations: 48 kB / 0.6532 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.5041, allocations: 104 kB / 0.6533 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5052, allocations: 465 kB / 0.6537 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.5079, allocations: 0.9708 MB / 0.6547 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.5125, allocations: 3.527 MB / 0.6581 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.5151, allocations: 223.7 kB / 0.6583 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.5154, allocations: 280 kB / 0.6586 GB, free: 11.3 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.00197/0.5174, allocations: 1.365 MB / 0.6599 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.5178, allocations: 198.6 kB / 0.6601 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.5201, allocations: 1.295 MB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.5202, allocations: 12 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5202, allocations: 4 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5202, allocations: 3.984 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.5269, allocations: 3.622 MB / 0.6649 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.5269, allocations: 8 kB / 0.6649 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.5275, allocations: 139.8 kB / 0.6651 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/0.5284, allocations: 308.6 kB / 0.6654 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.5285, allocations: 19.98 kB / 0.6654 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/0.5321, allocations: 2.92 MB / 0.6682 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5321, allocations: 4.031 kB / 0.6682 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.5365, allocations: 3.051 MB / 0.6712 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.5369, allocations: 170.6 kB / 0.6714 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5371, allocations: 19.94 kB / 0.6714 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.5378, allocations: 43.94 kB / 0.6714 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.5379, allocations: 56.33 kB / 0.6715 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.538, allocations: 28 kB / 0.6715 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002065/0.5401, allocations: 1.374 MB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5401, allocations: 0 / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002888/0.543, allocations: 0.5858 MB / 0.6734 GB, free: 11.86 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.000315/0.5433, allocations: 143 kB / 0.6736 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005133/0.5484, allocations: 3.096 MB / 0.6766 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5484, allocations: 0 / 0.6766 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5496, allocations: 0.8133 MB / 0.6774 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.5508, allocations: 163 kB / 0.6775 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.5607, allocations: 5.53 MB / 0.6829 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.5629, allocations: 1.598 MB / 0.6845 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003009/0.5659, allocations: 1.362 MB / 0.6858 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.5663, allocations: 147.4 kB / 0.686 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/0.5663, allocations: 0 / 0.686 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.03944/0.6057, allocations: 18.75 MB / 0.7043 GB, free: 12.42 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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: 6.127107553184032]