Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001605/0.001605, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001493/0.001493, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2316/0.2316, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 179] 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Forces.Spring") [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.00211/0.00211, allocations: 74.08 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3697, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0132/0.3829, allocations: 9.928 MB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008961/0.3918, allocations: 3.875 MB / 0.5709 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3933, allocations: 79.62 kB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.3983, allocations: 2.429 MB / 0.5734 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.4033, allocations: 1.907 MB / 0.5753 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.405, allocations: 0.7722 MB / 0.576 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006202/0.4112, allocations: 4.507 MB / 0.5804 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/0.415, allocations: 2.771 MB / 0.5831 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.4175, allocations: 1.581 MB / 0.5847 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.4211, allocations: 2.266 MB / 0.5869 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008092/0.4219, allocations: 332 kB / 0.5872 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.424, allocations: 0.8622 MB / 0.588 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.426, allocations: 1.963 MB / 0.59 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.4283, allocations: 1.674 MB / 0.5916 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.4365, allocations: 6.865 MB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4365, allocations: 0 / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4365, allocations: 0 / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002046/0.4367, allocations: 0 / 0.5983 GB, free: 13.48 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.00994/0.4466, allocations: 4.845 MB / 0.603 GB, free: 8.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.4467, allocations: 8.031 kB / 0.603 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.4542, allocations: 1.971 MB / 0.605 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.4602, allocations: 2.281 MB / 0.6072 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.4604, allocations: 254.4 kB / 0.6074 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/0.4611, allocations: 327.8 kB / 0.6077 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.482, allocations: 10.33 MB / 0.6178 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.4821, allocations: 47.58 kB / 0.6179 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.4825, allocations: 159.9 kB / 0.618 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/0.4857, allocations: 1.908 MB / 0.6199 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.5038, allocations: 8.165 MB / 0.6279 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04894/0.5527, allocations: 36.75 MB / 0.6638 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008262/0.561, allocations: 2.716 MB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.5626, allocations: 0.9673 MB / 0.6673 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008644/0.5713, allocations: 4.293 MB / 0.6715 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.5713, allocations: 55.5 kB / 0.6716 GB, free: 148 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 3.567e-06/0.5713, allocations: 0 / 0.6716 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02652/0.5979, allocations: 9.555 MB / 0.6809 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.598, allocations: 196.9 kB / 0.6811 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006183/0.6042, allocations: 3.792 MB / 0.6848 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.6044, allocations: 49.64 kB / 0.6849 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/0.607, allocations: 3.335 MB / 0.6881 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008449/0.6079, allocations: 0.663 MB / 0.6888 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.6098, allocations: 1.227 MB / 0.69 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.61, allocations: 309.1 kB / 0.6903 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.6129, allocations: 1.663 MB / 0.6919 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007237/0.6202, allocations: 5.584 MB / 0.6973 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.631, allocations: 7.799 MB / 0.705 GB, free: 9.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/0.6312, allocations: 40 kB / 0.705 GB, free: 9.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01472/0.6459, allocations: 6.907 MB / 0.7117 GB, free: 3.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6461, allocations: 64 kB / 0.7118 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002916/0.6464, allocations: 136 kB / 0.7119 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.6467, allocations: 180 kB / 0.7121 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/0.6516, allocations: 1.431 MB / 0.7135 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003004/0.6519, allocations: 274.9 kB / 0.7138 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.6565, allocations: 295.9 kB / 0.714 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000911/0.6574, allocations: 380.1 kB / 0.7144 GB, free: 276 kB / 0.545 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.004313/0.6617, allocations: 2.048 MB / 0.7164 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/0.6626, allocations: 325.8 kB / 0.7167 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.6636, allocations: 382.6 kB / 0.7171 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.6636, allocations: 20 kB / 0.7171 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.6637, allocations: 0 / 0.7171 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.6637, allocations: 7.969 kB / 0.7171 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.6748, allocations: 4.666 MB / 0.7217 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-05/0.6749, allocations: 23.97 kB / 0.7217 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.676, allocations: 283.5 kB / 0.722 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/0.676, allocations: 24 kB / 0.722 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/0.6761, allocations: 48 kB / 0.722 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.322e-05/0.6761, allocations: 39.8 kB / 0.7221 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/0.6761, allocations: 31.88 kB / 0.7221 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.6809, allocations: 3.282 MB / 0.7253 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.682, allocations: 305.7 kB / 0.7256 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.6823, allocations: 55.97 kB / 0.7256 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6834, allocations: 67.95 kB / 0.7257 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.6837, allocations: 151.3 kB / 0.7259 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.6838, allocations: 68 kB / 0.7259 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003524/0.6873, allocations: 2.164 MB / 0.728 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6873, allocations: 0 / 0.728 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005607/0.6929, allocations: 0.8827 MB / 0.7289 GB, free: 0.9102 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.0004655/0.6934, allocations: 194.7 kB / 0.7291 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3045/0.9979, allocations: 3.693 MB / 0.7327 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.542e-05/0.9979, allocations: 2.062 kB / 0.7327 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.9991, allocations: 0.7106 MB / 0.7334 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.002, allocations: 407.1 kB / 0.7338 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.017, allocations: 8.819 MB / 0.7424 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/1.02, allocations: 2.634 MB / 0.745 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003612/1.023, allocations: 1.77 MB / 0.7467 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/1.024, allocations: 228 kB / 0.7469 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.024, allocations: 0 / 0.7469 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04721/1.071, allocations: 24.86 MB / 0.7712 GB, free: 126.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.194300530478358]