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.001326/0.001326, 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.001433/0.001433, 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.44/1.44, 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.2286/0.2286, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.002027/0.002027, allocations: 67.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3879, allocations: 66.03 MB / 0.5618 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01219/0.4001, allocations: 9.925 MB / 0.5715 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.4093, allocations: 3.89 MB / 0.5753 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.4114, allocations: 75.62 kB / 0.5754 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004917/0.4163, allocations: 2.425 MB / 0.5777 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.422, allocations: 1.899 MB / 0.5796 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.4239, allocations: 0.78 MB / 0.5804 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007715/0.4317, allocations: 4.511 MB / 0.5848 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004235/0.4359, allocations: 2.782 MB / 0.5875 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.4388, allocations: 1.581 MB / 0.589 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/0.4426, allocations: 2.403 MB / 0.5914 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008394/0.4434, allocations: 332 kB / 0.5917 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.4454, allocations: 0.8739 MB / 0.5925 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.4475, allocations: 1.963 MB / 0.5945 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.4496, allocations: 1.674 MB / 0.5961 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008719/0.4584, allocations: 6.866 MB / 0.6028 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4584, allocations: 0 / 0.6028 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4584, allocations: 0 / 0.6028 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002194/0.4586, allocations: 0 / 0.6028 GB, free: 10.05 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.01052/0.4691, allocations: 4.837 MB / 0.6075 GB, free: 5.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4691, allocations: 15.97 kB / 0.6075 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/0.4766, allocations: 1.975 MB / 0.6095 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.4828, allocations: 2.277 MB / 0.6117 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.4831, allocations: 254.4 kB / 0.6119 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006475/0.4837, allocations: 331.8 kB / 0.6123 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.5034, allocations: 10.33 MB / 0.6223 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.5036, allocations: 47.58 kB / 0.6224 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/0.504, allocations: 155.9 kB / 0.6225 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/0.507, allocations: 1.919 MB / 0.6244 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.5251, allocations: 8.146 MB / 0.6324 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04799/0.573, allocations: 36.75 MB / 0.6683 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008253/0.5813, allocations: 2.725 MB / 0.6709 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.5829, allocations: 0.9619 MB / 0.6719 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009116/0.592, allocations: 4.289 MB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.5921, allocations: 51.56 kB / 0.6761 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.318e-06/0.5921, allocations: 0 / 0.6761 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02554/0.6176, allocations: 9.554 MB / 0.6854 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/0.6178, allocations: 204.9 kB / 0.6856 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/0.6234, allocations: 3.788 MB / 0.6893 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.6237, allocations: 49.7 kB / 0.6894 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/0.6263, allocations: 3.339 MB / 0.6926 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008502/0.6272, allocations: 0.6552 MB / 0.6933 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.6288, allocations: 1.231 MB / 0.6945 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6289, allocations: 308.9 kB / 0.6948 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.6317, allocations: 1.663 MB / 0.6964 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006308/0.638, allocations: 5.584 MB / 0.7018 GB, free: 264 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.6483, allocations: 7.796 MB / 0.7095 GB, free: 6.535 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/0.6485, allocations: 43.98 kB / 0.7095 GB, free: 6.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01507/0.6636, allocations: 6.91 MB / 0.7163 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.6637, allocations: 64 kB / 0.7163 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.6639, allocations: 140 kB / 0.7164 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.6641, allocations: 180 kB / 0.7166 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/0.6688, allocations: 1.435 MB / 0.718 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002467/0.669, allocations: 271 kB / 0.7183 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/0.673, allocations: 307.6 kB / 0.7186 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/0.6737, allocations: 372 kB / 0.7189 GB, free: 12.84 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.003394/0.6771, allocations: 2.04 MB / 0.7209 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/0.6778, allocations: 329.8 kB / 0.7212 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.6784, allocations: 378.6 kB / 0.7216 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/0.6785, allocations: 16 kB / 0.7216 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6785, allocations: 4 kB / 0.7216 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.6785, allocations: 11.91 kB / 0.7216 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009004/0.6875, allocations: 4.672 MB / 0.7262 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/0.6875, allocations: 20 kB / 0.7262 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.6887, allocations: 279.5 kB / 0.7265 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-05/0.6887, allocations: 27.98 kB / 0.7265 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/0.6888, allocations: 52.45 kB / 0.7266 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.6888, allocations: 35.86 kB / 0.7266 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.218e-05/0.6888, allocations: 27.88 kB / 0.7266 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.6934, allocations: 3.28 MB / 0.7298 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6944, allocations: 309.7 kB / 0.7301 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.6947, allocations: 55.92 kB / 0.7302 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6958, allocations: 63.95 kB / 0.7302 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.696, allocations: 147.4 kB / 0.7304 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6961, allocations: 67.98 kB / 0.7304 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.314/1.01, allocations: 2.163 MB / 0.7325 GB, free: 151 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.01, allocations: 0.5625 kB / 0.7325 GB, free: 151 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005214/1.015, allocations: 0.8799 MB / 0.7334 GB, free: 151 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.0003814/1.016, allocations: 194.1 kB / 0.7336 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005308/1.021, allocations: 3.7 MB / 0.7372 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/1.021, allocations: 0 / 0.7372 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/1.022, allocations: 0.7096 MB / 0.7379 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.024, allocations: 414.1 kB / 0.7383 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.036, allocations: 8.818 MB / 0.7469 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.039, allocations: 2.632 MB / 0.7495 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003273/1.042, allocations: 1.768 MB / 0.7512 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/1.042, allocations: 220.8 kB / 0.7514 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.342e-06/1.042, allocations: 2.516 kB / 0.7514 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04595/1.088, allocations: 27.43 MB / 0.7782 GB, free: 116.1 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 cvode -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.799780607994762]