Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001562/0.001562, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001039/0.001039, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8331/0.8331, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.381e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008748/0.008762, allocations: 11.05 MB / 358.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.01578, allocations: 3.981 MB / 362.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.01712, allocations: 79.62 kB / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.02052, allocations: 2.674 MB / 365.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.02357, allocations: 2.014 MB / 367.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.02466, allocations: 0.8732 MB / 368.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.02855, allocations: 5.085 MB / 373.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.03128, allocations: 3.392 MB / 376.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.03363, allocations: 2.538 MB / 379.4 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.03591, allocations: 2.482 MB / 381.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005562/0.03647, allocations: 332 kB / 382.2 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.03758, allocations: 0.9322 MB / 383.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.03873, allocations: 2.088 MB / 385.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.03992, allocations: 1.328 MB / 386.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.04353, allocations: 4.53 MB / 391.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.04353, allocations: 4 kB / 391.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.04353, allocations: 0 / 391.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.04366, allocations: 0 / 391.1 MB, free: 13.87 MB / 330.7 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.005478/0.04914, allocations: 5.263 MB / 396.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.04918, allocations: 8.031 kB / 396.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.05385, allocations: 2.518 MB / 398.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.05611, allocations: 2.141 MB / 401 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.05623, allocations: 242.7 kB / 401.2 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.05658, allocations: 328.2 kB / 401.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009024/0.06561, allocations: 6.557 MB / 408.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.06574, allocations: 43.64 kB / 408.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.06613, allocations: 159.9 kB / 408.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/0.06788, allocations: 1.908 MB / 410.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007693/0.07558, allocations: 3.276 MB / 413.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1956/0.2712, allocations: 45.51 MB / 459 MB, free: 63.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/0.2762, allocations: 2.093 MB / 461.1 MB, free: 63.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.277, allocations: 470.3 kB / 461.5 MB, free: 62.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004936/0.282, allocations: 3.936 MB / 465.5 MB, free: 61.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.282, allocations: 52.23 kB / 465.5 MB, free: 61.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 4.568e-06/0.282, allocations: 0 / 465.5 MB, free: 61.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.01361/0.2956, allocations: 8.039 MB / 473.6 MB, free: 58.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.2957, allocations: 200.4 kB / 473.8 MB, free: 58.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/0.2995, allocations: 3.587 MB / 477.4 MB, free: 57.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.2996, allocations: 55.36 kB / 477.4 MB, free: 57.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.3012, allocations: 3.501 MB / 480.9 MB, free: 55.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005327/0.3017, allocations: 0.6676 MB / 481.6 MB, free: 55.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3028, allocations: 1.326 MB / 482.9 MB, free: 54.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.3028, allocations: 476.8 kB / 483.4 MB, free: 53.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.3037, allocations: 0.5822 MB / 484 MB, free: 53.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.306, allocations: 6.469 MB / 490.4 MB, free: 44.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.3103, allocations: 7.714 MB / 498.1 MB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.3104, allocations: 40 kB / 498.2 MB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.007102/0.3175, allocations: 5.163 MB / 0.4915 GB, free: 29.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.3176, allocations: 72 kB / 0.4916 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.3177, allocations: 144 kB / 0.4918 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.3178, allocations: 187.9 kB / 0.4919 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3202, allocations: 1.447 MB / 0.4933 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001922/0.3204, allocations: 274.9 kB / 0.4936 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.3232, allocations: 387.5 kB / 0.494 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.3236, allocations: 384 kB / 0.4943 GB, free: 26.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.001301/0.3249, allocations: 0.6678 MB / 0.495 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.3254, allocations: 385.6 kB / 0.4954 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.3263, allocations: 0.8139 MB / 0.4962 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.3264, allocations: 22.89 kB / 0.4962 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.3264, allocations: 4 kB / 0.4962 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3264, allocations: 3.984 kB / 0.4962 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00797/0.3343, allocations: 4.923 MB / 0.501 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.3344, allocations: 16.98 kB / 0.501 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/0.3354, allocations: 272 kB / 0.5013 GB, free: 19.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.738e-05/0.3354, allocations: 24 kB / 0.5013 GB, free: 19.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.3355, allocations: 58.25 kB / 0.5013 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.001e-05/0.3355, allocations: 35.86 kB / 0.5014 GB, free: 19.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/0.3355, allocations: 27.88 kB / 0.5014 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.3382, allocations: 2.472 MB / 0.5038 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.3392, allocations: 449.5 kB / 0.5042 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.3395, allocations: 53.94 kB / 0.5043 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.3403, allocations: 107.4 kB / 0.5044 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3404, allocations: 155.3 kB / 0.5046 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.3404, allocations: 64 kB / 0.5046 GB, free: 15.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.3423, allocations: 1.54 MB / 0.5061 GB, free: 14.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3423, allocations: 4 kB / 0.5061 GB, free: 14.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003815/0.3462, allocations: 1.018 MB / 0.5071 GB, free: 13.07 MB / 378.7 MB 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 (142): * Single equations (assignments): 139 * 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.0004291/0.3466, allocations: 217.2 kB / 0.5073 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.3506, allocations: 2.637 MB / 0.5099 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.3506, allocations: 4 kB / 0.5099 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.3511, allocations: 465.3 kB / 0.5103 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.3532, allocations: 431.7 kB / 0.5108 GB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3636, allocations: 7.708 MB / 0.5183 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.3647, allocations: 1.196 MB / 0.5195 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003172/0.3679, allocations: 1.577 MB / 0.521 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.3684, allocations: 232.5 kB / 0.5212 GB, free: 14.26 MB / 394.7 MB Notification: Performance of SimCode: time 3.406e-06/0.3684, allocations: 0 / 0.5212 GB, free: 14.26 MB / 394.7 MB Notification: Performance of Templates: time 0.04358/0.412, allocations: 23.51 MB / 0.5442 GB, free: 6.969 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.197567756753415]