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.001689/0.001689, allocations: 75.77 kB / 22.45 MB, free: 2.086 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.001746/0.001746, allocations: 160.1 kB / 25.75 MB, free: 8.934 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.979/0.979, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",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.[0-9,]+.|body.v_0.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.343e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008645/0.008669, allocations: 7.26 MB / 258.4 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006149/0.01482, allocations: 3.161 MB / 261.5 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.01563, allocations: 43.81 kB / 261.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.01755, allocations: 1.101 MB / 262.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.02053, allocations: 1.447 MB / 264.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.02142, allocations: 0.491 MB / 264.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.0246, allocations: 2.96 MB / 267.6 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.02652, allocations: 1.64 MB / 269.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.0284, allocations: 1.329 MB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.03032, allocations: 1.43 MB / 272 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.03071, allocations: 176 kB / 272.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.03232, allocations: 0.9787 MB / 273.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.03338, allocations: 1.192 MB / 274.3 MB, free: 496 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008986/0.03428, allocations: 0.7358 MB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.03803, allocations: 3.012 MB / 278.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.03804, allocations: 0 / 278.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03804, allocations: 0 / 278.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.379e-05/0.03809, allocations: 0 / 278.1 MB, free: 12.72 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.005207/0.0433, allocations: 3.382 MB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.04335, allocations: 19.92 kB / 281.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.04739, allocations: 2.125 MB / 283.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.04891, allocations: 1.249 MB / 284.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.04898, allocations: 135.4 kB / 285 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.0494, allocations: 251.6 kB / 285.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.05384, allocations: 4.056 MB / 289.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-05/0.0539, allocations: 43.64 kB / 289.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.0541, allocations: 87.89 kB / 289.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001342/0.05544, allocations: 1.363 MB / 290.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004794/0.06023, allocations: 2.419 MB / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.07764, allocations: 28.59 MB / 321.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.08088, allocations: 1.428 MB / 323.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.08137, allocations: 372.4 kB / 323.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.08417, allocations: 2.578 MB / 326.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.08421, allocations: 53.89 kB / 326.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 2.455e-06/0.08421, allocations: 0 / 326.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01313/0.09734, allocations: 7.363 MB / 333.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001199/0.09854, allocations: 2.027 MB / 335.6 MB, free: 1.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.1009, allocations: 2.468 MB / 338.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.101, allocations: 49.59 kB / 338.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.1021, allocations: 2.291 MB / 340.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.1024, allocations: 0.5469 MB / 340.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/0.1033, allocations: 0.9889 MB / 341.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.1036, allocations: 0.5316 MB / 342.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008886/0.1045, allocations: 0.5438 MB / 343 MB, free: 9.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/0.1072, allocations: 4.701 MB / 347.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1319/0.2392, allocations: 5.788 MB / 353.5 MB, free: 91.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/0.2393, allocations: 27.62 kB / 353.5 MB, free: 91.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009889/0.2491, allocations: 5.717 MB / 359.2 MB, free: 90.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.2492, allocations: 49.03 kB / 359.3 MB, free: 90.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005163/0.2544, allocations: 2.327 MB / 361.6 MB, free: 90.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/0.2601, allocations: 2.138 MB / 363.8 MB, free: 89.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.2616, allocations: 1.014 MB / 364.8 MB, free: 88.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/0.2671, allocations: 5.866 MB / 370.6 MB, free: 82.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.269, allocations: 383.8 kB / 371 MB, free: 82.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.2692, allocations: 286.9 kB / 371.3 MB, free: 82.03 MB / 330.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.0006859/0.2699, allocations: 0.5294 MB / 371.8 MB, free: 81.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.2701, allocations: 247.1 kB / 372.1 MB, free: 81.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.2729, allocations: 1.708 MB / 373.8 MB, free: 80.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002391/0.2752, allocations: 1.406 MB / 375.2 MB, free: 78.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2753, allocations: 4 kB / 375.2 MB, free: 78.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2753, allocations: 7.969 kB / 375.2 MB, free: 78.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/0.2809, allocations: 4.811 MB / 380 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2809, allocations: 4 kB / 380 MB, free: 73.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2813, allocations: 175.7 kB / 380.2 MB, free: 73.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.2835, allocations: 0.9862 MB / 381.2 MB, free: 72.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.2836, allocations: 31.98 kB / 381.2 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/0.2878, allocations: 5.327 MB / 386.5 MB, free: 67.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004786/0.2883, allocations: 1.904 MB / 388.4 MB, free: 65.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/0.2926, allocations: 2.689 MB / 391.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.2928, allocations: 227.6 kB / 391.3 MB, free: 62.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.293, allocations: 23.94 kB / 391.4 MB, free: 62.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.2939, allocations: 147.8 kB / 391.5 MB, free: 62.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.2942, allocations: 84.48 kB / 391.6 MB, free: 62.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.2942, allocations: 38.64 kB / 391.6 MB, free: 62.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.2953, allocations: 1.046 MB / 392.7 MB, free: 61.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 1.75 kB / 392.7 MB, free: 61.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002856/0.2982, allocations: 0.8777 MB / 393.5 MB, free: 60.23 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.0003362/0.2985, allocations: 184.6 kB / 393.7 MB, free: 60.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.3024, allocations: 2.883 MB / 396.6 MB, free: 57.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3024, allocations: 0 / 396.6 MB, free: 57.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.3041, allocations: 1.177 MB / 397.8 MB, free: 55.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.3053, allocations: 261.2 kB / 398 MB, free: 55.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.3111, allocations: 5.233 MB / 403.3 MB, free: 50.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.3118, allocations: 0.7882 MB / 404.1 MB, free: 49.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001937/0.3138, allocations: 1.199 MB / 405.3 MB, free: 48.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.3141, allocations: 168.4 kB / 405.4 MB, free: 48.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3141, allocations: 0 / 405.4 MB, free: 48.2 MB / 330.7 MB Notification: Performance of Templates: time 0.03641/0.3505, allocations: 29.08 MB / 434.5 MB, free: 19.11 MB / 330.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8544014079961926]