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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2288/0.2288, allocations: 44.9 MB / 353.5 MB, free: 11.84 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.88 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01045/0.3274, allocations: 6.857 MB / 0.5555 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.3336, allocations: 2.419 MB / 0.5579 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3349, allocations: 35.16 kB / 0.5579 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.3373, allocations: 1.061 MB / 0.5589 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.3398, allocations: 0.8792 MB / 0.5598 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.3407, allocations: 307.2 kB / 0.5601 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.3439, allocations: 1.9 MB / 0.5619 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.3455, allocations: 0.9672 MB / 0.5629 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.3468, allocations: 0.7316 MB / 0.5636 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.3483, allocations: 1.063 MB / 0.5646 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.3487, allocations: 128 kB / 0.5648 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3502, allocations: 0.7604 MB / 0.5655 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3513, allocations: 0.9579 MB / 0.5664 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.3526, allocations: 1.141 MB / 0.5675 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.3574, allocations: 3.768 MB / 0.5712 GB, free: 8.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3574, allocations: 0 / 0.5712 GB, free: 8.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3574, allocations: 0 / 0.5712 GB, free: 8.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.94e-05/0.3575, allocations: 0 / 0.5712 GB, free: 8.414 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.004744/0.3622, allocations: 2.657 MB / 0.5738 GB, free: 5.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3623, allocations: 12.92 kB / 0.5738 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00577/0.3681, allocations: 1.575 MB / 0.5754 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.3705, allocations: 1.031 MB / 0.5764 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.3706, allocations: 119.3 kB / 0.5765 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.371, allocations: 160 kB / 0.5766 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009646/0.3806, allocations: 6.178 MB / 0.5827 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.3807, allocations: 31.7 kB / 0.5827 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.3809, allocations: 79.89 kB / 0.5828 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/0.3837, allocations: 1.441 MB / 0.5842 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.3941, allocations: 5.392 MB / 0.5895 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.4239, allocations: 24.71 MB / 0.6136 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.4284, allocations: 1.802 MB / 0.6153 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4296, allocations: 0.8944 MB / 0.6162 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.4298, allocations: 91.86 kB / 0.6163 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.4299, allocations: 42.56 kB / 0.6163 GB, free: 8.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.065e-06/0.4299, allocations: 0 / 0.6163 GB, free: 8.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02343/0.4533, allocations: 8.35 MB / 0.6245 GB, free: 356 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4534, allocations: 140.5 kB / 0.6246 GB, free: 184 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/0.4575, allocations: 2.652 MB / 0.6272 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.4577, allocations: 37.7 kB / 0.6273 GB, free: 13.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.4594, allocations: 2.116 MB / 0.6293 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.46, allocations: 452.6 kB / 0.6298 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.4612, allocations: 0.8734 MB / 0.6306 GB, free: 9.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4613, allocations: 305.1 kB / 0.6309 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.4634, allocations: 1.336 MB / 0.6322 GB, free: 8.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.4681, allocations: 4.108 MB / 0.6362 GB, free: 2.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008181/0.4763, allocations: 5.929 MB / 0.642 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.719e-05/0.4764, allocations: 31.98 kB / 0.642 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01086/0.4872, allocations: 5.491 MB / 0.6474 GB, free: 5.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.4873, allocations: 48 kB / 0.6474 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.4875, allocations: 100 kB / 0.6475 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.4886, allocations: 461.3 kB / 0.648 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.4917, allocations: 0.9708 MB / 0.6489 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.4963, allocations: 3.569 MB / 0.6524 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/0.4998, allocations: 231.7 kB / 0.6526 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006141/0.5004, allocations: 268 kB / 0.6529 GB, free: 256 kB / 494.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.002884/0.5033, allocations: 1.372 MB / 0.6542 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/0.5039, allocations: 230.4 kB / 0.6544 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.5069, allocations: 1.322 MB / 0.6557 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/0.507, allocations: 12 kB / 0.6558 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.507, allocations: 4 kB / 0.6558 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.507, allocations: 11.97 kB / 0.6558 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/0.5162, allocations: 4.166 MB / 0.6598 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5162, allocations: 0 / 0.6598 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.5169, allocations: 139.8 kB / 0.66 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/0.5178, allocations: 320.5 kB / 0.6603 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.5179, allocations: 15.94 kB / 0.6603 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.5218, allocations: 2.97 MB / 0.6632 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5218, allocations: 0 / 0.6632 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004748/0.5266, allocations: 3.083 MB / 0.6662 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.5272, allocations: 210.3 kB / 0.6664 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.5275, allocations: 24.12 kB / 0.6664 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.5282, allocations: 43.94 kB / 0.6665 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.5284, allocations: 52.34 kB / 0.6665 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.5285, allocations: 27.98 kB / 0.6665 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002801/0.5313, allocations: 1.633 MB / 0.6681 GB, free: 412 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5313, allocations: 0 / 0.6681 GB, free: 412 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00357/0.5348, allocations: 0.6015 MB / 0.6687 GB, free: 15.8 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.0004251/0.5353, allocations: 146.9 kB / 0.6689 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005688/0.5409, allocations: 3.103 MB / 0.6719 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.541, allocations: 0 / 0.6719 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.5423, allocations: 0.8056 MB / 0.6727 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.5443, allocations: 217 kB / 0.6729 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.5567, allocations: 5.582 MB / 0.6783 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/0.5592, allocations: 2.167 MB / 0.6805 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003099/0.5623, allocations: 1.391 MB / 0.6818 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.5628, allocations: 155.4 kB / 0.682 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of SimCode: time 1.323e-06/0.5628, allocations: 0 / 0.682 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of Templates: time 0.04655/0.6093, allocations: 21.35 MB / 0.7028 GB, free: 12.85 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.2992578241974115]