Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 43.55 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009072/0.112, allocations: 6.595 MB / 378.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.1181, allocations: 3.067 MB / 381.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005117/0.1186, allocations: 39.81 kB / 381.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.1207, allocations: 1.016 MB / 382.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.1234, allocations: 1.417 MB / 383.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.1243, allocations: 451.1 kB / 384.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.1274, allocations: 2.637 MB / 386.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.1289, allocations: 1.324 MB / 388.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1299, allocations: 0.8602 MB / 389 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.1317, allocations: 1.285 MB / 390.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003271/0.132, allocations: 172 kB / 390.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.1339, allocations: 0.9399 MB / 391.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.1354, allocations: 1.129 MB / 392.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.1368, allocations: 0.9548 MB / 393.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.1419, allocations: 4.384 MB / 397.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1419, allocations: 0 / 397.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1419, allocations: 0 / 397.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.01e-05/0.1419, allocations: 0 / 397.8 MB, free: 12.97 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.005404/0.1473, allocations: 3.076 MB / 400.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1474, allocations: 8.922 kB / 400.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/0.1546, allocations: 1.859 MB / 402.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.1573, allocations: 1.356 MB / 404.1 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.1574, allocations: 131.3 kB / 404.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000648/0.1581, allocations: 255.8 kB / 404.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.1686, allocations: 6.693 MB / 411.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.559e-05/0.1687, allocations: 27.75 kB / 411.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.1689, allocations: 87.89 kB / 411.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.1712, allocations: 1.367 MB / 412.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.1826, allocations: 6.048 MB / 418.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/0.213, allocations: 24.14 MB / 442.9 MB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.2207, allocations: 2.198 MB / 445.1 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.2223, allocations: 0.9848 MB / 446.1 MB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005468/0.2277, allocations: 2.735 MB / 448.8 MB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.2278, allocations: 47 kB / 448.8 MB, free: 8.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.436e-06/0.2278, allocations: 0 / 448.8 MB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02885/0.2566, allocations: 10.21 MB / 459 MB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001692/0.2583, allocations: 1.549 MB / 460.6 MB, free: 12.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.2623, allocations: 2.613 MB / 463.2 MB, free: 9.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.2626, allocations: 41.69 kB / 463.2 MB, free: 9.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.2644, allocations: 2.179 MB / 465.4 MB, free: 7.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.2651, allocations: 0.5273 MB / 466 MB, free: 7.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.2666, allocations: 0.9291 MB / 466.9 MB, free: 6.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003037/0.2669, allocations: 361.9 kB / 467.2 MB, free: 5.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/0.2698, allocations: 1.66 MB / 468.9 MB, free: 4.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1729/0.4427, allocations: 4.453 MB / 473.4 MB, free: 85.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00613/0.4488, allocations: 6.56 MB / 479.9 MB, free: 81.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.453e-05/0.4489, allocations: 28.19 kB / 479.9 MB, free: 81.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0186/0.4675, allocations: 7.999 MB / 487.9 MB, free: 79.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.4676, allocations: 51.5 kB / 488 MB, free: 79.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01089/0.4785, allocations: 3.475 MB / 491.5 MB, free: 78.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/0.49, allocations: 2.581 MB / 494 MB, free: 77.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.4926, allocations: 1.017 MB / 495.1 MB, free: 77.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.504, allocations: 9.345 MB / 0.4926 GB, free: 68.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.5071, allocations: 347.1 kB / 0.4929 GB, free: 68.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.5074, allocations: 284 kB / 0.4932 GB, free: 67.93 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.00141/0.5088, allocations: 1.42 MB / 0.4946 GB, free: 66.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.5091, allocations: 230.5 kB / 0.4948 GB, free: 66.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.5148, allocations: 2.791 MB / 0.4975 GB, free: 63.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005185/0.52, allocations: 2.5 MB / 0.5 GB, free: 61.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.52, allocations: 9.766 kB / 0.5 GB, free: 61.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.52, allocations: 11.5 kB / 0.5 GB, free: 61.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.5301, allocations: 6.203 MB / 0.506 GB, free: 54.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5301, allocations: 4 kB / 0.506 GB, free: 54.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/0.5308, allocations: 171.7 kB / 0.5062 GB, free: 54.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/0.5353, allocations: 1.438 MB / 0.5076 GB, free: 53.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.5354, allocations: 29.86 kB / 0.5076 GB, free: 53.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00805/0.5434, allocations: 7.62 MB / 0.5151 GB, free: 45.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006277/0.5441, allocations: 1.416 MB / 0.5165 GB, free: 43.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/0.5513, allocations: 4.827 MB / 0.5212 GB, free: 39.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.5516, allocations: 199.8 kB / 0.5214 GB, free: 39.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.5519, allocations: 31.92 kB / 0.5214 GB, free: 39.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.553, allocations: 119.8 kB / 0.5215 GB, free: 38.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.5532, allocations: 84.42 kB / 0.5216 GB, free: 38.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.5533, allocations: 35.98 kB / 0.5216 GB, free: 38.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001781/0.5551, allocations: 1.491 MB / 0.5231 GB, free: 37.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5551, allocations: 4 kB / 0.5231 GB, free: 37.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003162/0.5582, allocations: 0.7814 MB / 0.5238 GB, free: 36.51 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.0002729/0.5585, allocations: 163.8 kB / 0.524 GB, free: 36.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005692/0.5642, allocations: 4.192 MB / 0.5281 GB, free: 32.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5642, allocations: 0 / 0.5281 GB, free: 32.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.5668, allocations: 1.582 MB / 0.5296 GB, free: 30.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5681, allocations: 234.9 kB / 0.5299 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.5755, allocations: 6.644 MB / 0.5364 GB, free: 23.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.5771, allocations: 1.728 MB / 0.538 GB, free: 21.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002357/0.5794, allocations: 1.383 MB / 0.5394 GB, free: 20.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5797, allocations: 156.5 kB / 0.5395 GB, free: 20.36 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5797, allocations: 0 / 0.5395 GB, free: 20.36 MB / 430.1 MB Notification: Performance of Templates: time 0.04212/0.6219, allocations: 26.66 MB / 0.5656 GB, free: 10.01 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8027406020555645]