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.001958/0.001958, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001939/0.001939, allocations: 174.5 kB / 25.03 MB, free: 8.414 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 1.363/1.363, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 250.4 MB, free: 3.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.287e-05, allocations: 2.312 kB / 250.4 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01048/0.01051, allocations: 7.224 MB / 257.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.01768, allocations: 3.161 MB / 260.8 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.01868, allocations: 39.81 kB / 260.8 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.02135, allocations: 1.097 MB / 261.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.02575, allocations: 1.462 MB / 263.4 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.02702, allocations: 490.8 kB / 263.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.03148, allocations: 2.963 MB / 266.8 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.03403, allocations: 1.644 MB / 268.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.03667, allocations: 1.333 MB / 269.8 MB, free: 296 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.03923, allocations: 1.426 MB / 271.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.03967, allocations: 176 kB / 271.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.04187, allocations: 0.9749 MB / 272.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.0434, allocations: 1.196 MB / 273.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.0449, allocations: 0.7358 MB / 274.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007773/0.05267, allocations: 4.419 MB / 278.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.05268, allocations: 0 / 278.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05268, allocations: 7.938 kB / 278.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.05281, allocations: 0 / 278.7 MB, free: 7.332 MB / 266.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.008807/0.06162, allocations: 3.648 MB / 282.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.06167, allocations: 11.98 kB / 282.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008251/0.06992, allocations: 2.136 MB / 284.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/0.07467, allocations: 1.249 MB / 285.8 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.07487, allocations: 135.4 kB / 285.9 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.07607, allocations: 247.7 kB / 286.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.08694, allocations: 4.352 MB / 290.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.042e-05/0.08703, allocations: 31.67 kB / 290.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.08733, allocations: 87.89 kB / 290.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/0.08989, allocations: 1.367 MB / 292 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009045/0.09894, allocations: 2.753 MB / 294.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/0.2647, allocations: 30.97 MB / 325.7 MB, free: 29.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00669/0.2714, allocations: 1.484 MB / 327.2 MB, free: 29.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.2722, allocations: 394.7 kB / 327.6 MB, free: 28.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005227/0.2774, allocations: 2.624 MB / 330.2 MB, free: 27.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2775, allocations: 54.31 kB / 330.2 MB, free: 27.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=112): time 2.725e-06/0.2775, allocations: 0 / 330.2 MB, free: 27.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.02294/0.3004, allocations: 7.523 MB / 337.8 MB, free: 24.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009483/0.3014, allocations: 2.056 MB / 339.8 MB, free: 22.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.3046, allocations: 3.126 MB / 342.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.3049, allocations: 41.7 kB / 343 MB, free: 18.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.3061, allocations: 2.431 MB / 345.4 MB, free: 16.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.3066, allocations: 0.5769 MB / 346 MB, free: 16.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.3079, allocations: 1.149 MB / 347.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.308, allocations: 0.5473 MB / 347.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3092, allocations: 0.6061 MB / 348.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.3116, allocations: 4.9 MB / 353.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/0.3166, allocations: 6.08 MB / 359.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-05/0.3167, allocations: 28 kB / 359.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02013/0.3368, allocations: 5.836 MB / 365.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.572e-05/0.3369, allocations: 48 kB / 365.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01178/0.3487, allocations: 2.375 MB / 367.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/0.3619, allocations: 2.161 MB / 369.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.3655, allocations: 1.021 MB / 370.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.3781, allocations: 6.043 MB / 376.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/0.3832, allocations: 387.1 kB / 377.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007545/0.384, allocations: 287.9 kB / 377.4 MB, free: 12.43 MB / 314.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.001586/0.3856, allocations: 0.5924 MB / 378 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006743/0.3863, allocations: 254.5 kB / 378.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006397/0.3926, allocations: 1.753 MB / 380 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005548/0.3982, allocations: 1.467 MB / 381.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.3982, allocations: 4 kB / 381.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.3982, allocations: 7.984 kB / 381.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.4143, allocations: 5.417 MB / 386.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.4143, allocations: 0.875 kB / 386.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/0.4153, allocations: 175.7 kB / 387.1 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.4206, allocations: 1.004 MB / 388.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/0.4208, allocations: 35.91 kB / 388.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.4309, allocations: 5.503 MB / 393.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001642/0.4326, allocations: 1.905 MB / 395.5 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008084/0.4406, allocations: 2.844 MB / 398.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.4417, allocations: 218.4 kB / 398.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.4421, allocations: 35.98 kB / 398.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.4437, allocations: 143.8 kB / 398.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.4441, allocations: 88.36 kB / 398.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.4442, allocations: 39.98 kB / 398.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002448/0.4466, allocations: 1.245 MB / 400.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4466, allocations: 0 / 400.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004561/0.4512, allocations: 0.8747 MB / 401 MB, free: 4.273 MB / 330.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.0006327/0.4518, allocations: 185.7 kB / 401.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008226/0.4601, allocations: 3.117 MB / 404.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4601, allocations: 3.938 kB / 404.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.4634, allocations: 1.226 MB / 405.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.4655, allocations: 256.1 kB / 405.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.4769, allocations: 5.297 MB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.4793, allocations: 1.552 MB / 412.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003352/0.4826, allocations: 1.207 MB / 413.9 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.4831, allocations: 160.5 kB / 414 MB, free: 7.082 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4831, allocations: 4 kB / 414 MB, free: 7.078 MB / 346.7 MB Notification: Performance of Templates: time 0.17/0.6531, allocations: 29.06 MB / 443.1 MB, free: 115.4 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] 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: 6.115239709033631]