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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 183.2 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.0008561, allocations: 98.95 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004039, allocations: 12 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3574, allocations: 92.09 MB / 469.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.3577, allocations: 91.95 kB / 469.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3161/0.6738, allocations: 57.38 MB / 0.5142 GB, free: 94.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6738, allocations: 0 / 0.5142 GB, free: 94.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001136/0.6739, allocations: 46.78 kB / 0.5143 GB, free: 94.27 MB / 378.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.01003/0.684, allocations: 3.035 MB / 0.5173 GB, free: 92.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.684, allocations: 10.86 kB / 0.5173 GB, free: 92.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00812/0.6922, allocations: 2.028 MB / 0.5192 GB, free: 92.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.6979, allocations: 2.559 MB / 0.5217 GB, free: 92.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.6981, allocations: 192.4 kB / 0.5219 GB, free: 92.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009086/0.699, allocations: 259.2 kB / 0.5222 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.7105, allocations: 6.993 MB / 0.529 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.7107, allocations: 55.47 kB / 0.5291 GB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006511/0.7113, allocations: 123 kB / 0.5292 GB, free: 86.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009655/0.7123, allocations: 0.7228 MB / 0.5299 GB, free: 85.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009778/0.7221, allocations: 6.046 MB / 0.5358 GB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/0.7517, allocations: 32.7 MB / 0.5677 GB, free: 46.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/0.7574, allocations: 2.654 MB / 0.5703 GB, free: 43.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.7586, allocations: 1.032 MB / 0.5713 GB, free: 42.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004635/0.7633, allocations: 3.897 MB / 0.5751 GB, free: 38.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7633, allocations: 47.12 kB / 0.5752 GB, free: 38.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 4.188e-06/0.7633, allocations: 0 / 0.5752 GB, free: 38.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.02218/0.7855, allocations: 10.33 MB / 0.5853 GB, free: 27.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008707/0.7864, allocations: 1.576 MB / 0.5868 GB, free: 25.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.7897, allocations: 2.761 MB / 0.5895 GB, free: 23.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.7899, allocations: 45.14 kB / 0.5895 GB, free: 23.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/0.7908, allocations: 2.072 MB / 0.5916 GB, free: 21.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.7913, allocations: 0.5054 MB / 0.592 GB, free: 20.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.7915, allocations: 92.03 kB / 0.5921 GB, free: 20.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.7917, allocations: 0.4922 MB / 0.5926 GB, free: 19.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.7939, allocations: 1.629 MB / 0.5942 GB, free: 18.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.7972, allocations: 4.415 MB / 0.5985 GB, free: 12.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/0.8029, allocations: 6.479 MB / 0.6048 GB, free: 4.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.57e-05/0.8029, allocations: 28 kB / 0.6049 GB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.01283/0.8158, allocations: 7.044 MB / 0.6118 GB, free: 13.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.8159, allocations: 48.19 kB / 0.6118 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0062/0.8221, allocations: 2.536 MB / 0.6143 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/0.8271, allocations: 1.485 MB / 0.6157 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/0.8305, allocations: 1.018 MB / 0.6167 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009857/0.8404, allocations: 7.231 MB / 0.6238 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.8443, allocations: 359.6 kB / 0.6241 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005649/0.8449, allocations: 284 kB / 0.6244 GB, free: 360 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (541): * Single equations (assignments): 533 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002356/0.8473, allocations: 1.428 MB / 0.6258 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/0.8477, allocations: 232.9 kB / 0.626 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/0.8543, allocations: 2.838 MB / 0.6288 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005901/0.8602, allocations: 2.509 MB / 0.6312 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.8603, allocations: 4 kB / 0.6312 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.8603, allocations: 3.984 kB / 0.6312 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.8743, allocations: 6.89 MB / 0.638 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8743, allocations: 4 kB / 0.638 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.8752, allocations: 171.7 kB / 0.6381 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/0.8799, allocations: 1.434 MB / 0.6395 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.8801, allocations: 35.97 kB / 0.6396 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.8905, allocations: 7.323 MB / 0.6467 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001079/0.8917, allocations: 1.454 MB / 0.6481 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00861/0.9003, allocations: 4.845 MB / 0.6529 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.901, allocations: 301.9 kB / 0.6532 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.9013, allocations: 28 kB / 0.6532 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9025, allocations: 127.7 kB / 0.6533 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.9028, allocations: 84.31 kB / 0.6534 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.9029, allocations: 43.89 kB / 0.6534 GB, free: 2.023 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002991/0.906, allocations: 1.721 MB / 0.6551 GB, free: 300 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.906, allocations: 0 / 0.6551 GB, free: 300 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.1841/1.09, allocations: 0.7657 MB / 0.6559 GB, free: 126.6 MB / 426.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005025/1.091, allocations: 165.2 kB / 0.656 GB, free: 126.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008389/1.099, allocations: 4.313 MB / 0.6602 GB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.099, allocations: 1.094 kB / 0.6602 GB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/1.103, allocations: 1.722 MB / 0.6619 GB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.105, allocations: 256.5 kB / 0.6622 GB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.117, allocations: 7.668 MB / 0.6696 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/1.119, allocations: 2.296 MB / 0.6719 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003292/1.122, allocations: 1.413 MB / 0.6733 GB, free: 122 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/1.123, allocations: 170.9 kB / 0.6734 GB, free: 122 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.123, allocations: 0 / 0.6734 GB, free: 122 MB / 426.7 MB Notification: Performance of Templates: time 0.04319/1.166, allocations: 26.61 MB / 0.6994 GB, free: 113.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches