Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 183.8 kB / 8.153 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001259/0.001259, allocations: 87.25 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.781e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.4001, allocations: 96.45 MB / 458.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.4005, allocations: 86.02 kB / 458.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5472/0.9477, allocations: 90.69 MB / 0.5362 GB, free: 94.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002726/0.9481, allocations: 93.34 kB / 0.5363 GB, free: 94.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02717/0.9752, allocations: 4.577 MB / 0.5408 GB, free: 92.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.9753, allocations: 8.25 kB / 0.5408 GB, free: 92.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/0.9971, allocations: 2.221 MB / 0.5429 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/1.022, allocations: 5.657 MB / 0.5485 GB, free: 89.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/1.022, allocations: 153.3 kB / 0.5486 GB, free: 89.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.025, allocations: 276.7 kB / 0.5489 GB, free: 89.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02078/1.046, allocations: 7.172 MB / 0.5559 GB, free: 83.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02927/1.075, allocations: 10.62 MB / 0.5662 GB, free: 71.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/1.076, allocations: 63.42 kB / 0.5663 GB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002267/1.078, allocations: 39.91 kB / 0.5663 GB, free: 71.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003429/1.081, allocations: 1.276 MB / 0.5676 GB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08423/1.166, allocations: 53.51 MB / 0.6198 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/1.171, allocations: 2.635 MB / 0.6224 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/1.176, allocations: 1.748 MB / 0.6241 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/1.193, allocations: 6.7 MB / 0.6307 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/1.193, allocations: 47.56 kB / 0.6307 GB, free: 3.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 5.781e-06/1.194, allocations: 0 / 0.6307 GB, free: 3.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=195): time 0.04943/1.243, allocations: 12.08 MB / 0.6425 GB, free: 7.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/1.243, allocations: 153.8 kB / 0.6427 GB, free: 7.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008997/1.252, allocations: 3.271 MB / 0.6458 GB, free: 4.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.253, allocations: 25.7 kB / 0.6459 GB, free: 4.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003432/1.256, allocations: 3.222 MB / 0.649 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.258, allocations: 0.7559 MB / 0.6498 GB, free: 192 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008067/1.259, allocations: 0 / 0.6498 GB, free: 192 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1455/1.404, allocations: 0.5947 MB / 0.6503 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/1.41, allocations: 2.093 MB / 0.6524 GB, free: 138.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/1.419, allocations: 6.276 MB / 0.6585 GB, free: 133.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0088/1.428, allocations: 3.593 MB / 0.662 GB, free: 133.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/1.428, allocations: 45.5 kB / 0.6621 GB, free: 133.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=900) (initialization): time 0.02549/1.453, allocations: 7.978 MB / 0.6699 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.453, allocations: 10.78 kB / 0.6699 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00942/1.463, allocations: 2.676 MB / 0.6725 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/1.469, allocations: 0.9995 MB / 0.6735 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/1.479, allocations: 1.61 MB / 0.675 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/1.482, allocations: 1.88 MB / 0.6769 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/1.49, allocations: 288.3 kB / 0.6771 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.492, allocations: 426.2 kB / 0.6775 GB, free: 131.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 853 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002935/1.495, allocations: 410.2 kB / 0.6779 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000932/1.496, allocations: 349.5 kB / 0.6783 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.508, allocations: 3.014 MB / 0.6812 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009724/1.517, allocations: 2.528 MB / 0.6837 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/1.517, allocations: 0 / 0.6837 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.997e-05/1.518, allocations: 12.97 kB / 0.6837 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.546, allocations: 9.009 MB / 0.6925 GB, free: 127.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/1.546, allocations: 7.906 kB / 0.6925 GB, free: 127.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/1.549, allocations: 328.7 kB / 0.6928 GB, free: 127.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00584/1.555, allocations: 0.911 MB / 0.6937 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000539/1.556, allocations: 33.5 kB / 0.6937 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/1.564, allocations: 4.389 MB / 0.698 GB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001247/1.566, allocations: 1.384 MB / 0.6994 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01655/1.582, allocations: 6.841 MB / 0.706 GB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.585, allocations: 0.6225 MB / 0.7067 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.586, allocations: 27.3 kB / 0.7067 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/1.589, allocations: 106 kB / 0.7068 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005414/1.59, allocations: 121.4 kB / 0.7069 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.59, allocations: 69.61 kB / 0.707 GB, free: 118.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005627/1.596, allocations: 2.162 MB / 0.7091 GB, free: 117.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008411/1.604, allocations: 0.9949 MB / 0.71 GB, free: 117.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 14 ($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],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009569/1.605, allocations: 194.2 kB / 0.7102 GB, free: 117.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01589/1.621, allocations: 5.655 MB / 0.7158 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.621, allocations: 3 kB / 0.7158 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006512/1.628, allocations: 2.012 MB / 0.7177 GB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/1.631, allocations: 354 kB / 0.7181 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/1.656, allocations: 9.284 MB / 0.7271 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008052/1.664, allocations: 3.851 MB / 0.7309 GB, free: 99.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/1.664, allocations: 0 / 0.7309 GB, free: 99.39 MB / 410.7 MB Notification: Performance of Templates: time 0.3635/2.027, allocations: 131.4 MB / 0.8592 GB, free: 113.9 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches