Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009568/0.0009568, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0011/0.0011, allocations: 164.2 kB / 25.45 MB, free: 9.348 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.9814/0.9814, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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(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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.235e-05, allocations: 6.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.005884/0.005916, allocations: 6.597 MB / 306.3 MB, free: 272 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.01117, allocations: 3.067 MB / 309.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.01221, allocations: 39.81 kB / 309.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.01406, allocations: 1.058 MB / 310.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.01745, allocations: 1.451 MB / 311.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01868, allocations: 486.9 kB / 312.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.02209, allocations: 2.968 MB / 315.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.02431, allocations: 1.581 MB / 317 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.02628, allocations: 1.325 MB / 318.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.02808, allocations: 1.411 MB / 319.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002853/0.02837, allocations: 172 kB / 319.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.02978, allocations: 0.9788 MB / 320.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007807/0.03056, allocations: 1.192 MB / 322 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.03126, allocations: 0.7358 MB / 322.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.03577, allocations: 4.415 MB / 327.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.03578, allocations: 4 kB / 327.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.03578, allocations: 0 / 327.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.03592, allocations: 0 / 327.2 MB, free: 11.32 MB / 314.7 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.00673/0.04265, allocations: 3.087 MB / 330.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.04271, allocations: 15.98 kB / 330.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.04653, allocations: 1.785 MB / 332.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.0491, allocations: 1.375 MB / 333.4 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.822e-05/0.0492, allocations: 135.4 kB / 333.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004747/0.04968, allocations: 255.8 kB / 333.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008963/0.05864, allocations: 6.693 MB / 340.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.748e-05/0.05871, allocations: 35.67 kB / 340.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.05892, allocations: 87.89 kB / 340.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.06055, allocations: 1.359 MB / 342 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008526/0.06908, allocations: 6.048 MB / 348.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.2861, allocations: 24.17 MB / 372.2 MB, free: 39.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/0.2907, allocations: 2.2 MB / 374.4 MB, free: 39.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.2919, allocations: 0.9875 MB / 375.4 MB, free: 39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004034/0.2959, allocations: 2.817 MB / 378.2 MB, free: 37.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2959, allocations: 46.38 kB / 378.3 MB, free: 37.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=112): time 4.559e-06/0.296, allocations: 1.969 kB / 378.3 MB, free: 37.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.0158/0.3118, allocations: 10.33 MB / 388.6 MB, free: 32.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009681/0.3127, allocations: 1.55 MB / 390.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.3155, allocations: 2.734 MB / 392.9 MB, free: 27.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.3157, allocations: 41.7 kB / 392.9 MB, free: 27.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.3164, allocations: 2.162 MB / 395.1 MB, free: 25.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.3168, allocations: 0.5186 MB / 395.6 MB, free: 25.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/0.3176, allocations: 0.9091 MB / 396.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.3177, allocations: 357.9 kB / 396.9 MB, free: 24.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.3193, allocations: 1.676 MB / 398.5 MB, free: 22.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.3217, allocations: 4.476 MB / 403 MB, free: 16.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/0.3259, allocations: 6.57 MB / 409.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/0.326, allocations: 28 kB / 409.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01127/0.3373, allocations: 8.018 MB / 417.6 MB, free: 436 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.3373, allocations: 51.94 kB / 417.7 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006608/0.3439, allocations: 3.526 MB / 421.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006204/0.3501, allocations: 2.584 MB / 423.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.3524, allocations: 1.01 MB / 424.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/0.3622, allocations: 9.34 MB / 434.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/0.3654, allocations: 384.5 kB / 434.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008831/0.3663, allocations: 283.2 kB / 434.8 MB, free: 15.05 MB / 362.7 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.002213/0.3685, allocations: 1.426 MB / 436.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/0.369, allocations: 226.4 kB / 436.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.3728, allocations: 2.796 MB / 439.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003324/0.3762, allocations: 2.498 MB / 441.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.3762, allocations: 11.94 kB / 441.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.3762, allocations: 11.92 kB / 441.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.3856, allocations: 6.237 MB / 448 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.3856, allocations: 4 kB / 448 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.3861, allocations: 175.7 kB / 448.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.3889, allocations: 1.426 MB / 449.6 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.3891, allocations: 35.97 kB / 449.6 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007723/0.3968, allocations: 7.625 MB / 457.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007224/0.3975, allocations: 1.406 MB / 458.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/0.4032, allocations: 4.822 MB / 463.5 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4042, allocations: 230.3 kB / 463.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.4044, allocations: 27.98 kB / 463.7 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.4051, allocations: 151.7 kB / 463.9 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.4053, allocations: 85.91 kB / 464 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.4054, allocations: 43.83 kB / 464 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001697/0.4071, allocations: 1.577 MB / 465.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4071, allocations: 0 / 465.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002872/0.41, allocations: 0.871 MB / 466.5 MB, free: 14.9 MB / 394.7 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.0004211/0.4104, allocations: 190.8 kB / 466.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005647/0.416, allocations: 4.215 MB / 470.9 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.416, allocations: 4 kB / 470.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.4183, allocations: 1.568 MB / 472.4 MB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.4201, allocations: 238.6 kB / 472.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.4325, allocations: 6.757 MB / 479.4 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.4345, allocations: 1.732 MB / 481.2 MB, free: 84 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009019/0.4354, allocations: 200.5 kB / 481.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.083e-06/0.4354, allocations: 0 / 481.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of Templates: time 0.2383/0.6736, allocations: 77.48 MB / 0.5457 GB, free: 110.4 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.661436941474676]