Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [: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.001728/0.001728, allocations: 176.7 kB / 8.151 MB, free: 2.211 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.768/1.768, allocations: 205.2 MB / 213.8 MB, free: 13.84 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.001361/0.00136, allocations: 92.72 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.056e-05, allocations: 0 / 314.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 47.55 MB / 361.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.4235, allocations: 92.12 MB / 453.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4239, allocations: 87.94 kB / 454 MB, free: 9.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.4942/0.9181, allocations: 77.41 MB / 0.519 GB, free: 96.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.9183, allocations: 81.03 kB / 0.5191 GB, free: 96.1 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.02111/0.9394, allocations: 4.051 MB / 0.523 GB, free: 94.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9395, allocations: 7.375 kB / 0.523 GB, free: 94.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.9559, allocations: 1.855 MB / 0.5248 GB, free: 94.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.9733, allocations: 4.438 MB / 0.5292 GB, free: 93.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.9737, allocations: 139.6 kB / 0.5293 GB, free: 93.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.9759, allocations: 244.3 kB / 0.5295 GB, free: 93.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01566/0.9915, allocations: 6.116 MB / 0.5355 GB, free: 92.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/1.016, allocations: 9.434 MB / 0.5447 GB, free: 87.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/1.017, allocations: 63.19 kB / 0.5448 GB, free: 87.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.018, allocations: 32.5 kB / 0.5448 GB, free: 87.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/1.02, allocations: 1.091 MB / 0.5459 GB, free: 86.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07103/1.091, allocations: 49.12 MB / 0.5939 GB, free: 42.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/1.096, allocations: 2.307 MB / 0.5961 GB, free: 39.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.099, allocations: 1.421 MB / 0.5975 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/1.112, allocations: 5.277 MB / 0.6026 GB, free: 32.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.113, allocations: 59.27 kB / 0.6027 GB, free: 32.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 6.242e-06/1.113, allocations: 0 / 0.6027 GB, free: 32.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.03376/1.146, allocations: 9.277 MB / 0.6118 GB, free: 23.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.146, allocations: 141.5 kB / 0.6119 GB, free: 23.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/1.153, allocations: 3.002 MB / 0.6148 GB, free: 20.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003976/1.153, allocations: 25.7 kB / 0.6149 GB, free: 20.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.155, allocations: 3.001 MB / 0.6178 GB, free: 17.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009228/1.156, allocations: 0.6326 MB / 0.6184 GB, free: 16.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/1.157, allocations: 0 / 0.6184 GB, free: 16.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/1.157, allocations: 0.5833 MB / 0.619 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/1.162, allocations: 1.914 MB / 0.6208 GB, free: 13.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007246/1.169, allocations: 5.933 MB / 0.6266 GB, free: 6.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/1.176, allocations: 3.361 MB / 0.6299 GB, free: 2.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.176, allocations: 40 kB / 0.63 GB, free: 2.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=834) (initialization): time 0.02749/1.204, allocations: 7.814 MB / 0.6376 GB, free: 10.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.204, allocations: 4 kB / 0.6376 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01194/1.216, allocations: 2.674 MB / 0.6402 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00973/1.226, allocations: 1.413 MB / 0.6416 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008928/1.235, allocations: 1.407 MB / 0.643 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005504/1.24, allocations: 3.065 MB / 0.6459 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.247, allocations: 247.4 kB / 0.6462 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.248, allocations: 396 kB / 0.6466 GB, free: 1.465 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] spring3.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 752 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.00124/1.249, allocations: 389.3 kB / 0.6469 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008577/1.25, allocations: 308 kB / 0.6472 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.159/1.409, allocations: 2.955 MB / 0.6501 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01075/1.42, allocations: 2.527 MB / 0.6526 GB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/1.42, allocations: 3.625 kB / 0.6526 GB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-05/1.42, allocations: 10.34 kB / 0.6526 GB, free: 138 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.446, allocations: 7.678 MB / 0.6601 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.446, allocations: 3.656 kB / 0.6601 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/1.448, allocations: 185.2 kB / 0.6603 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009124/1.457, allocations: 1.341 MB / 0.6616 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003978/1.458, allocations: 21.16 kB / 0.6616 GB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009993/1.468, allocations: 5.572 MB / 0.667 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001111/1.469, allocations: 1.37 MB / 0.6684 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.016/1.485, allocations: 5.225 MB / 0.6735 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.486, allocations: 351.8 kB / 0.6738 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000918/1.487, allocations: 7.031 kB / 0.6738 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.49, allocations: 84.08 kB / 0.6739 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/1.49, allocations: 75.03 kB / 0.674 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.491, allocations: 47.28 kB / 0.674 GB, free: 132.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004738/1.495, allocations: 1.965 MB / 0.6759 GB, free: 132.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006916/1.502, allocations: 0.8884 MB / 0.6768 GB, free: 132.5 MB / 410.7 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * 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: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006417/1.503, allocations: 158.2 kB / 0.677 GB, free: 132.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0152/1.518, allocations: 5.298 MB / 0.6821 GB, free: 130.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.518, allocations: 5.25 kB / 0.6821 GB, free: 130.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006908/1.525, allocations: 1.917 MB / 0.684 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/1.528, allocations: 284.5 kB / 0.6843 GB, free: 130 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/1.553, allocations: 7.91 MB / 0.692 GB, free: 127.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008976/1.563, allocations: 3.449 MB / 0.6954 GB, free: 126 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/1.563, allocations: 3.281 kB / 0.6954 GB, free: 126 MB / 410.7 MB Notification: Performance of Templates: time 0.3652/1.928, allocations: 133.6 MB / 0.8259 GB, free: 135 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches