Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2") [: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.0008879/0.0008879, allocations: 185.8 kB / 7.801 MB, free: 2.285 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9794/0.9794, allocations: 205.2 MB / 213.4 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.0007721/0.0007721, allocations: 94.45 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1437/0.1437, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.161e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 58.84 MB / 476.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3302, allocations: 102.2 MB / 0.5652 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3304, allocations: 83.89 kB / 0.5653 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3766/0.707, allocations: 95.19 MB / 0.6582 GB, free: 102.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001499/0.7072, allocations: 89.72 kB / 0.6583 GB, free: 102.6 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02133/0.7286, allocations: 5.597 MB / 0.6638 GB, free: 100.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.7286, allocations: 10.09 kB / 0.6638 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.7397, allocations: 2.357 MB / 0.6661 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.7548, allocations: 7.298 MB / 0.6732 GB, free: 99.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.755, allocations: 155.5 kB / 0.6734 GB, free: 99.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.7562, allocations: 295.1 kB / 0.6736 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009824/0.7661, allocations: 7.639 MB / 0.6811 GB, free: 99.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.7796, allocations: 11.22 MB / 0.6921 GB, free: 94.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.7798, allocations: 71.23 kB / 0.6921 GB, free: 94.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005341/0.7803, allocations: 40.06 kB / 0.6922 GB, free: 94.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.7822, allocations: 1.326 MB / 0.6935 GB, free: 94.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05085/0.833, allocations: 58.72 MB / 0.7508 GB, free: 47.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/0.837, allocations: 3.725 MB / 0.7544 GB, free: 43.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.8397, allocations: 2.795 MB / 0.7572 GB, free: 41.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.8524, allocations: 9.957 MB / 0.7669 GB, free: 32.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.8525, allocations: 63.06 kB / 0.767 GB, free: 32.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 4.258e-06/0.8525, allocations: 0 / 0.767 GB, free: 32.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.03591/0.8884, allocations: 19.71 MB / 0.7862 GB, free: 12.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.8885, allocations: 209.8 kB / 0.7864 GB, free: 12.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.8927, allocations: 3.55 MB / 0.7899 GB, free: 8.465 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003142/0.893, allocations: 25.7 kB / 0.7899 GB, free: 8.434 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.8941, allocations: 3.327 MB / 0.7931 GB, free: 5.055 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.8948, allocations: 0.9409 MB / 0.7941 GB, free: 4.102 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.8951, allocations: 0 / 0.7941 GB, free: 4.102 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.8954, allocations: 0.6323 MB / 0.7947 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.8984, allocations: 3.056 MB / 0.7977 GB, free: 412 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/0.9043, allocations: 7.404 MB / 0.8049 GB, free: 6.816 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006233/0.9105, allocations: 4.871 MB / 0.8096 GB, free: 1.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.182e-05/0.9106, allocations: 48 kB / 0.8097 GB, free: 1.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=997) (initialization): time 0.02652/0.9372, allocations: 12.15 MB / 0.8216 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9372, allocations: 4 kB / 0.8216 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.146/1.083, allocations: 6.382 MB / 0.8278 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/1.093, allocations: 3.093 MB / 0.8308 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/1.099, allocations: 1.72 MB / 0.8325 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/1.114, allocations: 15.32 MB / 0.8475 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/1.121, allocations: 493 kB / 0.8479 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.122, allocations: 470.5 kB / 0.8484 GB, free: 162.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (920): * Single equations (assignments): 900 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 11,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00105/1.123, allocations: 0.4976 MB / 0.8489 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/1.124, allocations: 383.9 kB / 0.8492 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.137, allocations: 6.811 MB / 0.8559 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01209/1.149, allocations: 6.194 MB / 0.8619 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/1.149, allocations: 9.562 kB / 0.8619 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/1.149, allocations: 12.56 kB / 0.8619 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/1.173, allocations: 14.26 MB / 0.8759 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.173, allocations: 2.312 kB / 0.8759 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.175, allocations: 380.4 kB / 0.8762 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009371/1.184, allocations: 3.121 MB / 0.8793 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/1.185, allocations: 46.66 kB / 0.8793 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.202, allocations: 16.41 MB / 0.8954 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001882/1.204, allocations: 4.148 MB / 0.8994 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01662/1.22, allocations: 10.7 MB / 0.9099 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.221, allocations: 448.1 kB / 0.9103 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/1.222, allocations: 27.86 kB / 0.9103 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.224, allocations: 207 kB / 0.9105 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.225, allocations: 127.1 kB / 0.9106 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.225, allocations: 86.45 kB / 0.9107 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003047/1.228, allocations: 2.361 MB / 0.913 GB, free: 141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005258/1.233, allocations: 1.385 MB / 0.9144 GB, free: 139.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 10,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004627/1.234, allocations: 195.5 kB / 0.9146 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.246, allocations: 8.863 MB / 0.9232 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.246, allocations: 0 / 0.9232 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006977/1.253, allocations: 4.287 MB / 0.9274 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.255, allocations: 404.6 kB / 0.9278 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.274, allocations: 11.38 MB / 0.9389 GB, free: 118 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004284/1.278, allocations: 4.109 MB / 0.9429 GB, free: 114 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/1.278, allocations: 0 / 0.9429 GB, free: 114 MB / 0.4948 GB Notification: Performance of Templates: time 0.08413/1.363, allocations: 56.62 MB / 0.9982 GB, free: 58.32 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring2/Spring2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches