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.001637/0.001637, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001455/0.001455, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.401/1.401, 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.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.231/0.231, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.001979/0.001979, allocations: 68.05 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00822/0.3394, allocations: 6.04 MB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.3443, allocations: 2.302 MB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.3449, allocations: 35.88 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.3471, allocations: 1.028 MB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.3489, allocations: 0.8714 MB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.3496, allocations: 307.2 kB / 0.5721 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.3517, allocations: 1.872 MB / 0.574 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.353, allocations: 1.099 MB / 0.575 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009237/0.3539, allocations: 0.7122 MB / 0.5757 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3553, allocations: 1.066 MB / 0.5768 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.3555, allocations: 128 kB / 0.5769 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3569, allocations: 0.6513 MB / 0.5775 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000903/0.3578, allocations: 0.9463 MB / 0.5785 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008111/0.3586, allocations: 0.795 MB / 0.5792 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.3626, allocations: 3.733 MB / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3627, allocations: 0 / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3627, allocations: 0 / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.3627, allocations: 0 / 0.5829 GB, free: 14.52 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.004529/0.3672, allocations: 2.655 MB / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3673, allocations: 12.02 kB / 0.5855 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.3726, allocations: 1.575 MB / 0.587 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.375, allocations: 1.027 MB / 0.588 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3751, allocations: 115.3 kB / 0.5881 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.3754, allocations: 164 kB / 0.5883 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009776/0.3852, allocations: 6.182 MB / 0.5943 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.3853, allocations: 27.81 kB / 0.5943 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.3855, allocations: 83.89 kB / 0.5944 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002604/0.3881, allocations: 1.441 MB / 0.5958 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009586/0.3977, allocations: 5.369 MB / 0.6011 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.426, allocations: 23.34 MB / 0.6239 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.4304, allocations: 1.811 MB / 0.6256 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4316, allocations: 0.8823 MB / 0.6265 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.4318, allocations: 95.8 kB / 0.6266 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.4319, allocations: 42.5 kB / 0.6266 GB, free: 288 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/0.4319, allocations: 0 / 0.6266 GB, free: 288 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02239/0.4543, allocations: 8.352 MB / 0.6348 GB, free: 7.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.4544, allocations: 144.5 kB / 0.6349 GB, free: 7.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.4576, allocations: 2.449 MB / 0.6373 GB, free: 5.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.4578, allocations: 45.64 kB / 0.6374 GB, free: 5.141 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.4593, allocations: 2.131 MB / 0.6394 GB, free: 2.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/0.4598, allocations: 460.6 kB / 0.6399 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.4609, allocations: 0.8695 MB / 0.6407 GB, free: 1.648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.461, allocations: 337.9 kB / 0.6411 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.463, allocations: 1.332 MB / 0.6424 GB, free: 15.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/0.4671, allocations: 4.108 MB / 0.6464 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00695/0.474, allocations: 5.944 MB / 0.6522 GB, free: 3.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.293e-05/0.4741, allocations: 28 kB / 0.6522 GB, free: 3.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008923/0.483, allocations: 5.462 MB / 0.6575 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/0.4831, allocations: 48 kB / 0.6576 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.4832, allocations: 100.1 kB / 0.6577 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.4843, allocations: 460.5 kB / 0.6581 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.4871, allocations: 0.9708 MB / 0.6591 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.4914, allocations: 3.519 MB / 0.6625 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.4938, allocations: 235.5 kB / 0.6627 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/0.4942, allocations: 268 kB / 0.663 GB, free: 7.957 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.001935/0.4961, allocations: 1.372 MB / 0.6643 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.4964, allocations: 198.6 kB / 0.6645 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.4987, allocations: 1.295 MB / 0.6658 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.4987, allocations: 16 kB / 0.6658 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4987, allocations: 4 kB / 0.6658 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.4988, allocations: 11.98 kB / 0.6658 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006921/0.5057, allocations: 3.611 MB / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.5057, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.5063, allocations: 139.8 kB / 0.6695 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009083/0.5072, allocations: 312.6 kB / 0.6698 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.5073, allocations: 20 kB / 0.6698 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.5108, allocations: 2.92 MB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5108, allocations: 0 / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.5151, allocations: 3.051 MB / 0.6756 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.5155, allocations: 174.6 kB / 0.6758 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.5157, allocations: 15.94 kB / 0.6758 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.5164, allocations: 47.94 kB / 0.6758 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5165, allocations: 60.45 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.5166, allocations: 31.98 kB / 0.6759 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001947/0.5186, allocations: 1.37 MB / 0.6773 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5186, allocations: 0 / 0.6773 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002888/0.5214, allocations: 0.582 MB / 0.6778 GB, free: 8.512 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.0003223/0.5218, allocations: 143 kB / 0.678 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004742/0.5265, allocations: 3.102 MB / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5265, allocations: 0 / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5276, allocations: 0.8018 MB / 0.6818 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5288, allocations: 179.8 kB / 0.682 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/0.5377, allocations: 5.525 MB / 0.6874 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.5397, allocations: 1.601 MB / 0.6889 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002783/0.5425, allocations: 1.354 MB / 0.6902 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.5428, allocations: 143.4 kB / 0.6904 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.5428, allocations: 0 / 0.6904 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.04002/0.5828, allocations: 20.68 MB / 0.7106 GB, free: 7.145 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 -s cvode -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: 5.784744475997286]