Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.00186/0.00186, allocations: 71.59 kB / 21.24 MB, free: 0.5469 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.002296/0.002296, allocations: 159.5 kB / 24.49 MB, free: 3.727 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 50.88 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09154, allocations: 53.33 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008617/0.1002, allocations: 6.584 MB / 385.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00608/0.1062, allocations: 3.078 MB / 388.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007557/0.107, allocations: 39.81 kB / 388.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.1091, allocations: 1.016 MB / 389.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.1121, allocations: 1.374 MB / 391 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.1131, allocations: 463.1 kB / 391.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.1164, allocations: 2.661 MB / 394.1 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.1179, allocations: 1.332 MB / 395.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009336/0.1188, allocations: 0.8486 MB / 396.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.1205, allocations: 1.281 MB / 397.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.1208, allocations: 172 kB / 397.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.1224, allocations: 0.9204 MB / 398.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1235, allocations: 1.114 MB / 399.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1245, allocations: 0.9353 MB / 400.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.129, allocations: 4.346 MB / 405.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.129, allocations: 0 / 405.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.129, allocations: 0 / 405.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.399e-05/0.129, allocations: 4 kB / 405.1 MB, free: 5.375 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005281/0.1343, allocations: 3.037 MB / 408.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1343, allocations: 12.03 kB / 408.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007332/0.1416, allocations: 1.914 MB / 410 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.1442, allocations: 1.333 MB / 411.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.1443, allocations: 131.3 kB / 411.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006683/0.145, allocations: 259.7 kB / 411.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.1556, allocations: 6.712 MB / 418.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.169e-05/0.1557, allocations: 27.77 kB / 418.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.156, allocations: 87.89 kB / 418.6 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002313/0.1583, allocations: 1.363 MB / 419.9 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.1696, allocations: 6.06 MB / 426 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.2001, allocations: 24.12 MB / 450.1 MB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.2075, allocations: 2.21 MB / 452.3 MB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.2089, allocations: 0.9887 MB / 453.3 MB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/0.2142, allocations: 2.751 MB / 456.1 MB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.2142, allocations: 51.06 kB / 456.1 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.296e-06/0.2142, allocations: 0 / 456.1 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02801/0.2423, allocations: 10.24 MB / 466.3 MB, free: 6.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001406/0.2437, allocations: 1.553 MB / 467.9 MB, free: 4.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.2471, allocations: 2.597 MB / 470.5 MB, free: 2.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.2473, allocations: 41.7 kB / 470.5 MB, free: 2.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.2489, allocations: 2.186 MB / 472.7 MB, free: 28 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1673/0.4162, allocations: 0.5178 MB / 473.2 MB, free: 83.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.4175, allocations: 0.929 MB / 474.2 MB, free: 83.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.4176, allocations: 353.6 kB / 474.5 MB, free: 83.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.4199, allocations: 1.669 MB / 476.2 MB, free: 83.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/0.4231, allocations: 4.467 MB / 480.6 MB, free: 78.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/0.4286, allocations: 6.563 MB / 487.2 MB, free: 73.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-05/0.4286, allocations: 28.89 kB / 487.2 MB, free: 73.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01716/0.4458, allocations: 8.069 MB / 495.3 MB, free: 71.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.4459, allocations: 49.25 kB / 495.4 MB, free: 71.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01085/0.4567, allocations: 3.557 MB / 498.9 MB, free: 70.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/0.4681, allocations: 2.672 MB / 0.4898 GB, free: 67.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/0.4711, allocations: 1.018 MB / 0.4908 GB, free: 66.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.4827, allocations: 9.373 MB / 0.5 GB, free: 57.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.486, allocations: 350.4 kB / 0.5003 GB, free: 57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/0.4863, allocations: 287.9 kB / 0.5006 GB, free: 56.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001563/0.4879, allocations: 1.418 MB / 0.502 GB, free: 55.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.4881, allocations: 222.5 kB / 0.5022 GB, free: 55.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.4885, allocations: 307.7 kB / 0.5025 GB, free: 54.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005331/0.4939, allocations: 2.513 MB / 0.5049 GB, free: 52.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.4939, allocations: 4 kB / 0.5049 GB, free: 52.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4939, allocations: 7.984 kB / 0.5049 GB, free: 52.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5042, allocations: 6.21 MB / 0.511 GB, free: 46.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.5042, allocations: 4 kB / 0.511 GB, free: 46.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.5049, allocations: 177.3 kB / 0.5112 GB, free: 45.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/0.5095, allocations: 1.435 MB / 0.5126 GB, free: 44.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.5096, allocations: 39.97 kB / 0.5126 GB, free: 44.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/0.5179, allocations: 7.613 MB / 0.5201 GB, free: 36.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006574/0.5185, allocations: 1.411 MB / 0.5214 GB, free: 35.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/0.5262, allocations: 4.837 MB / 0.5262 GB, free: 30.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.5267, allocations: 201.6 kB / 0.5263 GB, free: 30.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.5269, allocations: 27.94 kB / 0.5264 GB, free: 29.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5281, allocations: 123.8 kB / 0.5265 GB, free: 29.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.5283, allocations: 84.31 kB / 0.5266 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.5284, allocations: 35.98 kB / 0.5266 GB, free: 29.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.5301, allocations: 1.479 MB / 0.528 GB, free: 28.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5301, allocations: 3.938 kB / 0.5281 GB, free: 28.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003278/0.5333, allocations: 0.7803 MB / 0.5288 GB, free: 27.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.5336, allocations: 155.6 kB / 0.529 GB, free: 27.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006326/0.5399, allocations: 4.206 MB / 0.5331 GB, free: 23.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.54, allocations: 2.734 kB / 0.5331 GB, free: 23.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002822/0.5428, allocations: 1.583 MB / 0.5346 GB, free: 21.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.5442, allocations: 253.5 kB / 0.5349 GB, free: 21.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.552, allocations: 6.624 MB / 0.5413 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.5536, allocations: 1.722 MB / 0.543 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002359/0.556, allocations: 1.379 MB / 0.5444 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.5563, allocations: 164.5 kB / 0.5445 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5563, allocations: 0 / 0.5445 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Templates: time 0.0471/0.6034, allocations: 26.62 MB / 0.5705 GB, free: 1.016 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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: 5.8610921510262415]