Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 114.9 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 51.91 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08877, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01178/0.1006, allocations: 10.74 MB / 362.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007219/0.1078, allocations: 3.927 MB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1089, allocations: 63.81 kB / 366.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.1132, allocations: 2.577 MB / 368.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.1167, allocations: 1.761 MB / 370.6 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1544/0.2711, allocations: 0.6901 MB / 371.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005601/0.2768, allocations: 3.677 MB / 374.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003828/0.2806, allocations: 3.554 MB / 378.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.2829, allocations: 1.485 MB / 380 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.2853, allocations: 1.95 MB / 381.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006079/0.2859, allocations: 318 kB / 382.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.2879, allocations: 1.166 MB / 383.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.2894, allocations: 1.813 MB / 385.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.2912, allocations: 2.146 MB / 387.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.2965, allocations: 6.689 MB / 394.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2965, allocations: 0 / 394.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2965, allocations: 3.375 kB / 394.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.2967, allocations: 0 / 394.1 MB, free: 4.035 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.007118/0.3038, allocations: 4.575 MB / 398.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3038, allocations: 9.219 kB / 398.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005658/0.3095, allocations: 1.884 MB / 400.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.3136, allocations: 2.009 MB / 402.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.3138, allocations: 249.6 kB / 402.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007625/0.3145, allocations: 398.2 kB / 403.2 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.33, allocations: 10.06 MB / 413.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.173e-05/0.3301, allocations: 44.89 kB / 413.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.3305, allocations: 157 kB / 413.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.3331, allocations: 1.867 MB / 415.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.3506, allocations: 8.327 MB / 423.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.3949, allocations: 39.23 MB / 462.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009677/0.4047, allocations: 3.989 MB / 466.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.4067, allocations: 1.435 MB / 468.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.4179, allocations: 7.623 MB / 475.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4179, allocations: 55.5 kB / 476 MB, free: 2.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.437e-06/0.418, allocations: 0 / 476 MB, free: 2.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02891/0.4469, allocations: 12.38 MB / 488.3 MB, free: 6.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001164/0.4481, allocations: 1.679 MB / 490 MB, free: 4.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.4528, allocations: 3.817 MB / 493.8 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.453, allocations: 45.7 kB / 493.9 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/0.455, allocations: 3.112 MB / 497 MB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/0.4556, allocations: 0.6499 MB / 497.6 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.4571, allocations: 1.252 MB / 498.9 MB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.4572, allocations: 309.1 kB / 499.2 MB, free: 11.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/0.4602, allocations: 2.03 MB / 0.4895 GB, free: 9.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/0.4653, allocations: 5.967 MB / 0.4953 GB, free: 1.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.4743, allocations: 8.632 MB / 0.5037 GB, free: 6.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-05/0.4744, allocations: 40 kB / 0.5038 GB, free: 6.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02292/0.4973, allocations: 9.725 MB / 0.5133 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4975, allocations: 71.92 kB / 0.5133 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01113/0.5086, allocations: 3.745 MB / 0.517 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.5202, allocations: 2.61 MB / 0.5195 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/0.5246, allocations: 1.365 MB / 0.5209 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1801/0.7047, allocations: 7.709 MB / 0.5284 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/0.7111, allocations: 400.9 kB / 0.5288 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/0.713, allocations: 388.6 kB / 0.5292 GB, free: 139.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.004834/0.7179, allocations: 2.017 MB / 0.5311 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/0.7186, allocations: 326.7 kB / 0.5314 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.7248, allocations: 3.131 MB / 0.5345 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005507/0.7303, allocations: 2.682 MB / 0.5371 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.7304, allocations: 5.594 kB / 0.5371 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.7304, allocations: 8.031 kB / 0.5371 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.7452, allocations: 8.553 MB / 0.5455 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.7452, allocations: 1.812 kB / 0.5455 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.746, allocations: 186.7 kB / 0.5457 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/0.75, allocations: 1.439 MB / 0.5471 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.7501, allocations: 31.62 kB / 0.5471 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.755, allocations: 6.02 MB / 0.553 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006705/0.7557, allocations: 1.543 MB / 0.5545 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/0.763, allocations: 5.316 MB / 0.5597 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/0.7639, allocations: 376 kB / 0.56 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.7642, allocations: 31.69 kB / 0.5601 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.7654, allocations: 116.7 kB / 0.5602 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.7656, allocations: 91.14 kB / 0.5603 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.7658, allocations: 44.59 kB / 0.5603 GB, free: 127.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002861/0.7686, allocations: 2.346 MB / 0.5626 GB, free: 126.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7686, allocations: 0 / 0.5626 GB, free: 126.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004087/0.7727, allocations: 1.027 MB / 0.5636 GB, free: 126.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004035/0.7731, allocations: 177.9 kB / 0.5638 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.7807, allocations: 5.507 MB / 0.5691 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7808, allocations: 2.953 kB / 0.5691 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.784, allocations: 2.03 MB / 0.5711 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.7865, allocations: 393.6 kB / 0.5715 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.7988, allocations: 8.955 MB / 0.5802 GB, free: 110.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.8012, allocations: 3.106 MB / 0.5833 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003253/0.8045, allocations: 1.804 MB / 0.585 GB, free: 105.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.8049, allocations: 219.4 kB / 0.5853 GB, free: 105.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.8049, allocations: 3.938 kB / 0.5853 GB, free: 105.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05312/0.8581, allocations: 33.36 MB / 0.6178 GB, free: 72.56 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches