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.001071/0.001071, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001143/0.001143, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 18.57 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 0.9751/0.9751, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2982/0.2982, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 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 1.473e-06/1.473e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.768e-05, allocations: 6.312 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009145/0.009173, allocations: 10.76 MB / 336.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.01602, allocations: 4.121 MB / 340.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.01754, allocations: 75.62 kB / 340.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.02042, allocations: 2.62 MB / 342.9 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.02446, allocations: 1.944 MB / 344.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.02571, allocations: 0.8655 MB / 345.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.0308, allocations: 5.204 MB / 350.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.03378, allocations: 3.225 MB / 354.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.03656, allocations: 2.444 MB / 356.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.03917, allocations: 2.354 MB / 358.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.03965, allocations: 332 kB / 359.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.04096, allocations: 0.9323 MB / 360.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.04225, allocations: 2.057 MB / 362.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.04342, allocations: 1.308 MB / 363.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.04748, allocations: 4.456 MB / 368 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.04749, allocations: 4 kB / 368 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04749, allocations: 0 / 368 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.845e-05/0.04758, allocations: 0 / 368 MB, free: 12.75 MB / 346.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.004516/0.0521, allocations: 4.465 MB / 372.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.05213, allocations: 8.031 kB / 372.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.05501, allocations: 1.14 MB / 373.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.05717, allocations: 1.781 MB / 375.4 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.0573, allocations: 250.7 kB / 375.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.05767, allocations: 324.2 kB / 375.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006012/0.06369, allocations: 5.259 MB / 381.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.542e-05/0.06377, allocations: 51.56 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.06403, allocations: 155.9 kB / 381.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.06554, allocations: 1.709 MB / 383.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005677/0.07122, allocations: 2.534 MB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.09736, allocations: 32.14 MB / 417.8 MB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.1008, allocations: 1.896 MB / 419.7 MB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.1012, allocations: 323.9 kB / 420 MB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004644/0.1059, allocations: 3.481 MB / 423.5 MB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1059, allocations: 47.5 kB / 423.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 3.747e-06/0.1059, allocations: 0 / 423.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.009212/0.1151, allocations: 4.482 MB / 428 MB, free: 14.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1152, allocations: 200.9 kB / 428.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.1179, allocations: 3.181 MB / 431.4 MB, free: 10.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.118, allocations: 49.7 kB / 431.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.1193, allocations: 3.153 MB / 434.6 MB, free: 7.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.1196, allocations: 0.6513 MB / 435.2 MB, free: 7.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.1207, allocations: 1.168 MB / 436.4 MB, free: 5.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.1207, allocations: 313 kB / 436.7 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.1217, allocations: 0.7002 MB / 437.4 MB, free: 4.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/0.1245, allocations: 4.56 MB / 442 MB, free: 14.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.1288, allocations: 5.797 MB / 447.8 MB, free: 6.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-05/0.1289, allocations: 40 kB / 447.8 MB, free: 6.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.005094/0.134, allocations: 4.111 MB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.1341, allocations: 64 kB / 452 MB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/0.1342, allocations: 140 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.1343, allocations: 184.7 kB / 452.3 MB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.1371, allocations: 1.505 MB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002825/0.1374, allocations: 274.9 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1604/0.2978, allocations: 271.3 kB / 454.3 MB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.299, allocations: 330.6 kB / 454.7 MB, free: 120.8 MB / 426.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.001741/0.3007, allocations: 0.6386 MB / 455.3 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/0.3014, allocations: 211.1 kB / 455.5 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.3017, allocations: 320 kB / 455.8 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.3017, allocations: 21.48 kB / 455.8 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3018, allocations: 0 / 455.8 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.3018, allocations: 12.61 kB / 455.9 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.3064, allocations: 4.046 MB / 459.9 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.3064, allocations: 15.69 kB / 459.9 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.307, allocations: 286.5 kB / 460.2 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.307, allocations: 25.09 kB / 460.2 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.3071, allocations: 50.62 kB / 460.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/0.3071, allocations: 39.62 kB / 460.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.3071, allocations: 32.58 kB / 460.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3083, allocations: 1.902 MB / 462.2 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.3088, allocations: 326.2 kB / 462.6 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.309, allocations: 50.06 kB / 462.6 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.3096, allocations: 50.92 kB / 462.7 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3097, allocations: 140.4 kB / 462.8 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.3098, allocations: 61.61 kB / 462.9 MB, free: 118.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.3108, allocations: 1.317 MB / 464.2 MB, free: 118.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3108, allocations: 0 / 464.2 MB, free: 118.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003118/0.3139, allocations: 0.9827 MB / 465.2 MB, free: 118.3 MB / 426.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.000342/0.3142, allocations: 196.8 kB / 465.3 MB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.3168, allocations: 2.337 MB / 467.7 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001541/0.3169, allocations: 101.4 kB / 467.8 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3173, allocations: 385.8 kB / 468.2 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.3187, allocations: 438.5 kB / 468.6 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.327, allocations: 7.58 MB / 476.2 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009564/0.328, allocations: 1.179 MB / 477.3 MB, free: 111 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001217/0.3292, allocations: 0.5032 MB / 477.9 MB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/0.3298, allocations: 0.5631 MB / 478.4 MB, free: 110.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3298, allocations: 4 kB / 478.4 MB, free: 110.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03762/0.3675, allocations: 24.75 MB / 0.4914 GB, free: 86.51 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.037343884352595]