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.001444/0.001444, allocations: 108.9 kB / 17.28 MB, free: 6.059 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.001438/0.001438, allocations: 197.3 kB / 18.21 MB, free: 5.145 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 / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 54.94 kB / 300.8 MB, free: 5.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1009, allocations: 49.44 MB / 350.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2231/0.3241, allocations: 42.18 MB / 392.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.3485, allocations: 9.07 MB / 401.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01272/0.3612, allocations: 177 kB / 401.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006241/0.3675, allocations: 2.485 MB / 404.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007923/0.3755, allocations: 1.635 MB / 405.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3784, allocations: 0.6458 MB / 406.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007972/0.3864, allocations: 3.718 MB / 410.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.3921, allocations: 3.756 MB / 413.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.3952, allocations: 1.503 MB / 415.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.3988, allocations: 2.165 MB / 417.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.4, allocations: 316 kB / 417.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.4032, allocations: 1.174 MB / 419.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.4058, allocations: 1.843 MB / 420.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003938/0.4098, allocations: 2.167 MB / 423.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006996/0.4168, allocations: 5.286 MB / 428.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4169, allocations: 0 / 428.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4169, allocations: 0 / 428.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002551/0.4171, allocations: 0 / 428.4 MB, free: 6.484 MB / 334.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.01191/0.4291, allocations: 4.577 MB / 432.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4291, allocations: 8.031 kB / 432.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.4365, allocations: 1.875 MB / 434.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.4409, allocations: 1.986 MB / 436.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.4412, allocations: 250.2 kB / 437.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.4426, allocations: 391.6 kB / 437.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.4635, allocations: 10.07 MB / 447.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.4638, allocations: 39.62 kB / 447.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.465, allocations: 159.8 kB / 447.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003112/0.4681, allocations: 1.853 MB / 449.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.4869, allocations: 8.329 MB / 457.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.5398, allocations: 39.4 MB / 497.3 MB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.5508, allocations: 3.984 MB / 0.4895 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.5531, allocations: 1.436 MB / 0.4909 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.565, allocations: 7.626 MB / 0.4984 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.5651, allocations: 47.5 kB / 0.4984 GB, free: 1.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.348e-06/0.5651, allocations: 4 kB / 0.4984 GB, free: 1.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03199/0.5971, allocations: 12.38 MB / 0.5105 GB, free: 5.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001334/0.5985, allocations: 1.687 MB / 0.5122 GB, free: 3.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.6039, allocations: 3.808 MB / 0.5159 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003967/0.6043, allocations: 45.7 kB / 0.5159 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.6065, allocations: 3.111 MB / 0.519 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008545/0.6074, allocations: 0.6559 MB / 0.5196 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/0.609, allocations: 1.257 MB / 0.5208 GB, free: 10.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.6091, allocations: 301.1 kB / 0.5211 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.6121, allocations: 2.038 MB / 0.5231 GB, free: 8.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/0.6178, allocations: 5.965 MB / 0.5289 GB, free: 176 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1942/0.8121, allocations: 8.617 MB / 0.5373 GB, free: 139 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.971e-05/0.8122, allocations: 44 kB / 0.5374 GB, free: 139 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02287/0.8351, allocations: 9.726 MB / 0.5469 GB, free: 136 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/0.8352, allocations: 69.75 kB / 0.5469 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01088/0.8461, allocations: 3.748 MB / 0.5506 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.8575, allocations: 2.613 MB / 0.5532 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/0.8612, allocations: 1.37 MB / 0.5545 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/0.8695, allocations: 7.718 MB / 0.562 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.8741, allocations: 401.1 kB / 0.5624 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007171/0.8748, allocations: 391.8 kB / 0.5628 GB, free: 129.8 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.002646/0.8775, allocations: 2.013 MB / 0.5648 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.878, allocations: 327.7 kB / 0.5651 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/0.8838, allocations: 3.129 MB / 0.5681 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004961/0.8888, allocations: 2.668 MB / 0.5707 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.8888, allocations: 4 kB / 0.5707 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.8888, allocations: 7.984 kB / 0.5707 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.9013, allocations: 8.575 MB / 0.5791 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.9013, allocations: 0 / 0.5791 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.9021, allocations: 187.7 kB / 0.5793 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/0.9063, allocations: 1.45 MB / 0.5807 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.9065, allocations: 35.97 kB / 0.5807 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.9114, allocations: 6.011 MB / 0.5866 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006679/0.912, allocations: 1.538 MB / 0.5881 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/0.9194, allocations: 5.314 MB / 0.5933 GB, free: 99.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/0.9202, allocations: 372.7 kB / 0.5937 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/0.9206, allocations: 35.73 kB / 0.5937 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.9218, allocations: 119.8 kB / 0.5938 GB, free: 98.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.9221, allocations: 92.8 kB / 0.5939 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.9222, allocations: 39.98 kB / 0.5939 GB, free: 98.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0027/0.9249, allocations: 2.349 MB / 0.5962 GB, free: 96.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9249, allocations: 4 kB / 0.5962 GB, free: 96.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004334/0.9292, allocations: 1.024 MB / 0.5972 GB, free: 95.39 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.00038/0.9296, allocations: 178.6 kB / 0.5974 GB, free: 95.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008575/0.9382, allocations: 5.99 MB / 0.6033 GB, free: 89.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.9382, allocations: 0 / 0.6033 GB, free: 89.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003356/0.9416, allocations: 2.038 MB / 0.6052 GB, free: 87.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.9438, allocations: 401.1 kB / 0.6056 GB, free: 86.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.9571, allocations: 11.39 MB / 0.6167 GB, free: 75.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.9597, allocations: 3.107 MB / 0.6198 GB, free: 72.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007715/0.9605, allocations: 267.4 kB / 0.62 GB, free: 71.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.9605, allocations: 0 / 0.62 GB, free: 71.88 MB / 446.1 MB Notification: Performance of Templates: time 0.312/1.272, allocations: 143.3 MB / 0.76 GB, free: 89.86 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 -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