Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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.001699/0.001699, allocations: 111 kB / 21.18 MB, free: 0.668 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.002098/0.002098, allocations: 209.2 kB / 24.47 MB, free: 3.969 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2344/0.2344, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2925, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01272/0.3052, allocations: 9.932 MB / 0.5715 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.3134, allocations: 3.871 MB / 0.5753 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.3149, allocations: 75.62 kB / 0.5754 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005145/0.3201, allocations: 2.437 MB / 0.5778 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.3252, allocations: 1.903 MB / 0.5796 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.3273, allocations: 0.78 MB / 0.5804 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006291/0.3336, allocations: 4.511 MB / 0.5848 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.3372, allocations: 2.779 MB / 0.5875 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.3395, allocations: 1.577 MB / 0.589 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.3429, allocations: 2.399 MB / 0.5914 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007101/0.3436, allocations: 336 kB / 0.5917 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.3454, allocations: 0.8739 MB / 0.5925 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.3473, allocations: 1.963 MB / 0.5945 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.3492, allocations: 1.67 MB / 0.5961 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007801/0.357, allocations: 6.866 MB / 0.6028 GB, free: 10 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3571, allocations: 3.938 kB / 0.6028 GB, free: 9.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3571, allocations: 0 / 0.6028 GB, free: 9.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.3572, allocations: 0 / 0.6028 GB, free: 9.996 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009883/0.3671, allocations: 4.841 MB / 0.6075 GB, free: 5.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3671, allocations: 8.031 kB / 0.6075 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.3748, allocations: 1.971 MB / 0.6095 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.3806, allocations: 2.285 MB / 0.6117 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.3808, allocations: 254.4 kB / 0.6119 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008479/0.3817, allocations: 327.8 kB / 0.6123 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4013, allocations: 10.33 MB / 0.6223 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.4015, allocations: 63.55 kB / 0.6224 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004882/0.402, allocations: 155.9 kB / 0.6225 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00307/0.405, allocations: 1.911 MB / 0.6244 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.4225, allocations: 8.161 MB / 0.6324 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.4702, allocations: 36.74 MB / 0.6683 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.4787, allocations: 2.725 MB / 0.6709 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4804, allocations: 0.9631 MB / 0.6719 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008806/0.4892, allocations: 4.29 MB / 0.6761 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.4892, allocations: 47.5 kB / 0.6761 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.879e-06/0.4892, allocations: 0 / 0.6761 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.024/0.5132, allocations: 9.565 MB / 0.6854 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.5134, allocations: 204.9 kB / 0.6856 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/0.5185, allocations: 3.788 MB / 0.6893 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.5187, allocations: 49.7 kB / 0.6894 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/0.5213, allocations: 3.331 MB / 0.6926 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/0.522, allocations: 0.6591 MB / 0.6933 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/0.5237, allocations: 1.231 MB / 0.6945 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5238, allocations: 313 kB / 0.6948 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.5266, allocations: 1.659 MB / 0.6964 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006124/0.5327, allocations: 5.592 MB / 0.7019 GB, free: 196 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009909/0.5427, allocations: 7.794 MB / 0.7095 GB, free: 6.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/0.5428, allocations: 40 kB / 0.7095 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0134/0.5562, allocations: 6.904 MB / 0.7162 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.5563, allocations: 64 kB / 0.7163 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/0.5565, allocations: 140 kB / 0.7164 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.5567, allocations: 180 kB / 0.7166 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/0.5615, allocations: 1.439 MB / 0.718 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002515/0.5618, allocations: 267 kB / 0.7183 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.5657, allocations: 303.8 kB / 0.7186 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007859/0.5665, allocations: 380.4 kB / 0.7189 GB, free: 12.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003637/0.5701, allocations: 2.025 MB / 0.7209 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/0.5708, allocations: 330 kB / 0.7212 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.5716, allocations: 386.6 kB / 0.7216 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/0.5716, allocations: 23.36 kB / 0.7216 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5716, allocations: 7.938 kB / 0.7216 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5716, allocations: 3.984 kB / 0.7216 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009395/0.581, allocations: 4.676 MB / 0.7262 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.5811, allocations: 20.22 kB / 0.7262 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.5822, allocations: 283.5 kB / 0.7265 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-05/0.5822, allocations: 24 kB / 0.7265 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.5823, allocations: 51.98 kB / 0.7266 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.221e-05/0.5824, allocations: 35.86 kB / 0.7266 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.107e-05/0.5824, allocations: 27.88 kB / 0.7266 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.5869, allocations: 3.278 MB / 0.7298 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008625/0.5878, allocations: 313.7 kB / 0.7301 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.5881, allocations: 59.97 kB / 0.7302 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5892, allocations: 67.89 kB / 0.7302 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.5894, allocations: 147.4 kB / 0.7304 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.5895, allocations: 67.98 kB / 0.7304 GB, free: 464 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2406/0.8301, allocations: 2.161 MB / 0.7325 GB, free: 151 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8301, allocations: 0.5 kB / 0.7325 GB, free: 151 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004666/0.8347, allocations: 0.8798 MB / 0.7334 GB, free: 150.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.8351, allocations: 196.6 kB / 0.7336 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005248/0.8403, allocations: 3.69 MB / 0.7372 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.32e-05/0.8404, allocations: 7.125 kB / 0.7372 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.8413, allocations: 0.7097 MB / 0.7379 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.8438, allocations: 405.4 kB / 0.7383 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.8562, allocations: 8.817 MB / 0.7469 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/0.8588, allocations: 2.631 MB / 0.7495 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003295/0.8621, allocations: 1.772 MB / 0.7512 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.8625, allocations: 228.9 kB / 0.7514 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.8625, allocations: 0 / 0.7514 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.04597/0.9085, allocations: 27.44 MB / 0.7782 GB, free: 116 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.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.696333776009851]