Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9728/0.9728, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.169e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01003/0.01007, allocations: 7.246 MB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006271/0.01634, allocations: 3.187 MB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.01713, allocations: 39.81 kB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.01874, allocations: 1.101 MB / 284.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.02121, allocations: 1.428 MB / 285.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.02209, allocations: 494.8 kB / 286.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002761/0.02485, allocations: 3.027 MB / 289.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.145/0.1699, allocations: 1.628 MB / 291.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.1724, allocations: 1.311 MB / 292.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.1748, allocations: 1.417 MB / 293.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.1752, allocations: 174.1 kB / 294 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.177, allocations: 0.9627 MB / 294.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.1781, allocations: 1.176 MB / 296.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.1791, allocations: 0.7214 MB / 296.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.1834, allocations: 2.97 MB / 299.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1834, allocations: 1.344 kB / 299.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1834, allocations: 0 / 299.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.563e-05/0.1835, allocations: 0 / 299.8 MB, free: 14.59 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.005406/0.1889, allocations: 3.348 MB / 303.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1889, allocations: 15.23 kB / 303.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.1934, allocations: 2.191 MB / 305.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.1953, allocations: 1.226 MB / 306.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.1954, allocations: 132.2 kB / 306.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004493/0.1958, allocations: 255.1 kB / 306.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004905/0.2007, allocations: 4.067 MB / 311 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/0.2008, allocations: 26.61 kB / 311 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.2009, allocations: 87.14 kB / 311.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/0.2022, allocations: 1.373 MB / 312.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/0.2064, allocations: 2.418 MB / 314.9 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.2271, allocations: 28.61 MB / 343.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.2304, allocations: 1.43 MB / 344.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.2309, allocations: 371.2 kB / 345.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003286/0.2342, allocations: 2.566 MB / 347.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.2342, allocations: 56.45 kB / 347.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 3.507e-06/0.2343, allocations: 0 / 347.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.01386/0.2481, allocations: 7.35 MB / 355.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001274/0.2494, allocations: 2.038 MB / 357.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.2521, allocations: 2.448 MB / 359.8 MB, free: 8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.2522, allocations: 37.7 kB / 359.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.2535, allocations: 2.296 MB / 362.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/0.2539, allocations: 0.5454 MB / 362.6 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.2551, allocations: 0.9881 MB / 363.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2552, allocations: 0.5277 MB / 364.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.2562, allocations: 0.5515 MB / 364.7 MB, free: 3.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/0.2594, allocations: 4.702 MB / 369.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.2644, allocations: 5.793 MB / 375.2 MB, free: 4.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-05/0.2645, allocations: 28 kB / 375.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01028/0.2748, allocations: 5.775 MB / 381 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.2748, allocations: 47.28 kB / 381.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00579/0.2806, allocations: 2.402 MB / 383.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.2868, allocations: 2.224 MB / 385.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.2888, allocations: 1.025 MB / 386.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.2956, allocations: 5.901 MB / 392.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.2982, allocations: 379.6 kB / 393 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/0.2986, allocations: 291.1 kB / 393.3 MB, free: 2.48 MB / 346.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.001164/0.2998, allocations: 0.5197 MB / 393.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.3001, allocations: 254.5 kB / 394 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.3003, allocations: 263.7 kB / 394.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002938/0.3033, allocations: 1.412 MB / 395.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.3033, allocations: 4.047 kB / 395.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3033, allocations: 7.938 kB / 395.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007603/0.3109, allocations: 4.798 MB / 400.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3109, allocations: 0 / 400.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.3114, allocations: 179.7 kB / 400.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.314, allocations: 0.9837 MB / 401.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.3141, allocations: 31.97 kB / 401.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005113/0.3192, allocations: 5.32 MB / 407 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007662/0.3199, allocations: 1.894 MB / 408.9 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.3245, allocations: 2.698 MB / 411.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.3251, allocations: 218.4 kB / 411.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.3252, allocations: 35.11 kB / 411.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.3259, allocations: 139.8 kB / 412 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.3261, allocations: 84.42 kB / 412.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.3262, allocations: 36.08 kB / 412.1 MB, free: 15.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001554/0.3277, allocations: 1.034 MB / 413.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3277, allocations: 0 / 413.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003686/0.3314, allocations: 0.8514 MB / 414 MB, free: 13.18 MB / 378.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.0004737/0.3319, allocations: 181.5 kB / 414.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.3367, allocations: 2.877 MB / 417.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3367, allocations: 4 kB / 417.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.3385, allocations: 1.185 MB / 418.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3396, allocations: 249.2 kB / 418.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/0.3468, allocations: 5.218 MB / 423.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.3476, allocations: 0.7919 MB / 424.5 MB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.3493, allocations: 1.203 MB / 425.7 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.3496, allocations: 160.4 kB / 425.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of SimCode: time 2.063e-06/0.3496, allocations: 4 kB / 425.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of Templates: time 0.1572/0.5068, allocations: 28.71 MB / 454.6 MB, free: 131.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.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.073255187831819]