Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001508/0.001508, allocations: 185.3 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001119/0.001119, allocations: 97.98 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003887, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.4931, allocations: 91.96 MB / 466.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.4935, allocations: 87.95 kB / 466.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5138/1.007, allocations: 58.14 MB / 0.5124 GB, free: 93.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.007, allocations: 0 / 0.5124 GB, free: 93.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001138/1.007, allocations: 53.31 kB / 0.5125 GB, free: 93.97 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.01769/1.025, allocations: 3.066 MB / 0.5155 GB, free: 92.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.025, allocations: 13.38 kB / 0.5155 GB, free: 92.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/1.042, allocations: 2.057 MB / 0.5175 GB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.056, allocations: 3.647 MB / 0.5211 GB, free: 91.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/1.056, allocations: 196.3 kB / 0.5212 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/1.057, allocations: 256.8 kB / 0.5215 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/1.076, allocations: 7.022 MB / 0.5283 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.076, allocations: 43.53 kB / 0.5284 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009529/1.077, allocations: 129.3 kB / 0.5285 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/1.079, allocations: 0.7261 MB / 0.5292 GB, free: 84.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.096, allocations: 6.086 MB / 0.5352 GB, free: 78.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/1.139, allocations: 32.72 MB / 0.5671 GB, free: 44.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.151, allocations: 2.666 MB / 0.5697 GB, free: 41.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008355/1.159, allocations: 3.909 MB / 0.5735 GB, free: 37.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.159, allocations: 47.12 kB / 0.5736 GB, free: 37.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=112): time 5.52e-06/1.159, allocations: 0 / 0.5736 GB, free: 37.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.04462/1.204, allocations: 10.58 MB / 0.5839 GB, free: 26.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001343/1.205, allocations: 1.596 MB / 0.5855 GB, free: 25.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/1.211, allocations: 2.468 MB / 0.5879 GB, free: 22.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/1.211, allocations: 41.7 kB / 0.5879 GB, free: 22.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.213, allocations: 2.073 MB / 0.5899 GB, free: 20.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007672/1.214, allocations: 0.5084 MB / 0.5904 GB, free: 20.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/1.214, allocations: 87.91 kB / 0.5905 GB, free: 19.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/1.214, allocations: 0.5048 MB / 0.591 GB, free: 19.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004212/1.219, allocations: 1.621 MB / 0.5926 GB, free: 17.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005999/1.225, allocations: 4.403 MB / 0.5969 GB, free: 12.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/1.231, allocations: 2.629 MB / 0.5995 GB, free: 9.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-05/1.231, allocations: 28 kB / 0.5995 GB, free: 9.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=589) (initialization): time 0.02239/1.253, allocations: 6.966 MB / 0.6063 GB, free: 2.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/1.254, allocations: 48 kB / 0.6063 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01022/1.264, allocations: 2.527 MB / 0.6088 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009736/1.274, allocations: 1.506 MB / 0.6103 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.28, allocations: 1.017 MB / 0.6113 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/1.297, allocations: 7.447 MB / 0.6185 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.303, allocations: 360 kB / 0.6189 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009133/1.304, allocations: 284 kB / 0.6192 GB, free: 4.949 MB / 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.003567/1.308, allocations: 1.415 MB / 0.6205 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/1.308, allocations: 240.9 kB / 0.6208 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.321, allocations: 2.846 MB / 0.6236 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01106/1.332, allocations: 2.509 MB / 0.626 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.332, allocations: 4 kB / 0.626 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.332, allocations: 11.98 kB / 0.626 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/1.355, allocations: 6.865 MB / 0.6327 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.355, allocations: 7.984 kB / 0.6327 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.357, allocations: 175.8 kB / 0.6329 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009155/1.366, allocations: 1.426 MB / 0.6343 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002731/1.366, allocations: 31.97 kB / 0.6343 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/1.384, allocations: 7.558 MB / 0.6417 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001595/1.386, allocations: 1.45 MB / 0.6431 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/1.402, allocations: 4.95 MB / 0.648 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00091/1.403, allocations: 305.8 kB / 0.6482 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.404, allocations: 31.98 kB / 0.6483 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.406, allocations: 127.5 kB / 0.6484 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/1.407, allocations: 88.42 kB / 0.6485 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.407, allocations: 35.98 kB / 0.6485 GB, free: 6.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004777/1.412, allocations: 1.721 MB / 0.6502 GB, free: 4.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.412, allocations: 0 / 0.6502 GB, free: 4.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005556/1.418, allocations: 0.7735 MB / 0.651 GB, free: 3.75 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.000633/1.418, allocations: 166.5 kB / 0.6511 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2852/1.703, allocations: 4.32 MB / 0.6553 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.703, allocations: 0 / 0.6553 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005916/1.709, allocations: 1.719 MB / 0.657 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.711, allocations: 246.3 kB / 0.6572 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.729, allocations: 7.936 MB / 0.665 GB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003874/1.733, allocations: 2.354 MB / 0.6673 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.734, allocations: 201.6 kB / 0.6675 GB, free: 123.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/1.734, allocations: 4 kB / 0.6675 GB, free: 123.9 MB / 426.7 MB Notification: Performance of Templates: time 0.1219/1.856, allocations: 71.36 MB / 0.7372 GB, free: 73.83 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches