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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001522, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.963/1.963, 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.001143/0.001143, allocations: 91.39 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3513, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5118, allocations: 97.28 MB / 471.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5122, allocations: 91.94 kB / 471.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6458/1.158, allocations: 93.92 MB / 0.5526 GB, free: 62.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.957e-06/1.158, allocations: 0 / 0.5526 GB, free: 62.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002617/1.158, allocations: 88 kB / 0.5526 GB, free: 62.79 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02582/1.184, allocations: 4.96 MB / 0.5575 GB, free: 57.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.184, allocations: 8.031 kB / 0.5575 GB, free: 57.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02206/1.206, allocations: 2.696 MB / 0.5601 GB, free: 55.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/1.227, allocations: 5.634 MB / 0.5656 GB, free: 49.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/1.227, allocations: 365.5 kB / 0.566 GB, free: 48.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002683/1.23, allocations: 471.8 kB / 0.5664 GB, free: 48.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04075/1.271, allocations: 12.67 MB / 0.5788 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003063/1.271, allocations: 67.34 kB / 0.5789 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002309/1.273, allocations: 235.8 kB / 0.5791 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003024/1.276, allocations: 1.206 MB / 0.5803 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03557/1.312, allocations: 10.4 MB / 0.5904 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08493/1.397, allocations: 52.92 MB / 0.6421 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3212/1.718, allocations: 4.538 MB / 0.6465 GB, free: 95.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/1.747, allocations: 8.295 MB / 0.6546 GB, free: 93.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/1.748, allocations: 53.28 kB / 0.6547 GB, free: 93.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 9.177e-06/1.748, allocations: 0 / 0.6547 GB, free: 93.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.08799/1.836, allocations: 16.18 MB / 0.6705 GB, free: 89.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00141/1.837, allocations: 1.612 MB / 0.6721 GB, free: 88.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009388/1.847, allocations: 3.796 MB / 0.6758 GB, free: 87.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004975/1.847, allocations: 56.42 kB / 0.6758 GB, free: 87.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002817/1.85, allocations: 3.339 MB / 0.6791 GB, free: 85.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.851, allocations: 0.8038 MB / 0.6799 GB, free: 84.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008423/1.852, allocations: 131.4 kB / 0.68 GB, free: 84.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004807/1.853, allocations: 0.5969 MB / 0.6806 GB, free: 84.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006319/1.859, allocations: 2.248 MB / 0.6828 GB, free: 83.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008933/1.868, allocations: 6.323 MB / 0.689 GB, free: 77.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00889/1.877, allocations: 3.661 MB / 0.6925 GB, free: 76.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.877, allocations: 40.94 kB / 0.6926 GB, free: 76.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02628/1.903, allocations: 8.973 MB / 0.7013 GB, free: 73.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.904, allocations: 70.09 kB / 0.7014 GB, free: 73.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00911/1.913, allocations: 2.814 MB / 0.7041 GB, free: 71.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005837/1.919, allocations: 1.091 MB / 0.7052 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009493/1.928, allocations: 1.592 MB / 0.7068 GB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/1.934, allocations: 4.454 MB / 0.7111 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008541/1.943, allocations: 0.4968 MB / 0.7116 GB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.945, allocations: 412.6 kB / 0.712 GB, free: 64.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (845): * Single equations (assignments): 836 * Array equations: 5 * 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 {(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.00543/1.95, allocations: 2.214 MB / 0.7142 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009113/1.951, allocations: 375.1 kB / 0.7145 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.961, allocations: 3.272 MB / 0.7177 GB, free: 59.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008514/1.97, allocations: 2.709 MB / 0.7204 GB, free: 57.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.97, allocations: 8 kB / 0.7204 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.259e-05/1.97, allocations: 7.078 kB / 0.7204 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/2, allocations: 10.36 MB / 0.7305 GB, free: 49.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.101e-05/2, allocations: 16 kB / 0.7305 GB, free: 49.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003066/2.003, allocations: 372.8 kB / 0.7309 GB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00535/2.009, allocations: 0.971 MB / 0.7318 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/2.009, allocations: 62.28 kB / 0.7319 GB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/2.016, allocations: 4.682 MB / 0.7364 GB, free: 43.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001119/2.018, allocations: 1.491 MB / 0.7379 GB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/2.032, allocations: 7.502 MB / 0.7452 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/2.034, allocations: 0.6678 MB / 0.7459 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007723/2.035, allocations: 64.53 kB / 0.7459 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/2.039, allocations: 172.5 kB / 0.7461 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/2.039, allocations: 180.5 kB / 0.7463 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/2.039, allocations: 72.77 kB / 0.7463 GB, free: 33.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006688/2.046, allocations: 2.637 MB / 0.7489 GB, free: 30.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.046, allocations: 0 / 0.7489 GB, free: 30.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007935/2.054, allocations: 1.154 MB / 0.75 GB, free: 29.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 172 * 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.0008983/2.055, allocations: 231.4 kB / 0.7503 GB, free: 29.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01512/2.07, allocations: 5.863 MB / 0.756 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/2.07, allocations: 0 / 0.756 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006516/2.077, allocations: 2.185 MB / 0.7581 GB, free: 21.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/2.081, allocations: 461.9 kB / 0.7586 GB, free: 20.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/2.109, allocations: 13.04 MB / 0.7713 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007717/2.117, allocations: 3.558 MB / 0.7748 GB, free: 4.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.118, allocations: 327.4 kB / 0.7751 GB, free: 3.828 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/2.118, allocations: 0 / 0.7751 GB, free: 3.828 MB / 410.7 MB Notification: Performance of Templates: time 0.5433/2.662, allocations: 133.3 MB / 0.9053 GB, free: 43.2 MB / 442.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