Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [: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.001154/0.001154, allocations: 187.6 kB / 8.481 MB, free: 1.871 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.12/1.12, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 91.66 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.321e-06/6.351e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06813/0.06815, allocations: 47.58 MB / 362.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.3089, allocations: 91.13 MB / 453.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.3091, allocations: 86.67 kB / 453.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1493/0.4584, allocations: 56.2 MB / 0.498 GB, free: 1.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.57e-05/0.4586, allocations: 48 kB / 0.4981 GB, free: 0.9883 MB / 346.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.01101/0.4696, allocations: 2.828 MB / 0.5008 GB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4696, allocations: 12.03 kB / 0.5008 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008754/0.4784, allocations: 1.634 MB / 0.5024 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009833/0.4883, allocations: 3.649 MB / 0.506 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.4884, allocations: 87.91 kB / 0.5061 GB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008245/0.4893, allocations: 148 kB / 0.5062 GB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006333/0.4956, allocations: 4.214 MB / 0.5103 GB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008154/0.5038, allocations: 6.402 MB / 0.5166 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.5039, allocations: 39.62 kB / 0.5166 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.5042, allocations: 20 kB / 0.5166 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/0.5052, allocations: 0.7693 MB / 0.5174 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03226/0.5375, allocations: 32.09 MB / 0.5487 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.54, allocations: 2.068 MB / 0.5507 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.5413, allocations: 1.157 MB / 0.5519 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006803/0.5482, allocations: 4.553 MB / 0.5563 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5482, allocations: 51 kB / 0.5564 GB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=112): time 3.968e-06/0.5482, allocations: 0 / 0.5564 GB, free: 2.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.02131/0.5696, allocations: 9.107 MB / 0.5653 GB, free: 9.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.5697, allocations: 141.1 kB / 0.5654 GB, free: 9.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.5734, allocations: 2.17 MB / 0.5675 GB, free: 7.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.5736, allocations: 25.7 kB / 0.5675 GB, free: 7.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.5749, allocations: 2.031 MB / 0.5695 GB, free: 5.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005063/0.5754, allocations: 0.4937 MB / 0.57 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.5756, allocations: 4 kB / 0.57 GB, free: 4.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003614/0.5759, allocations: 0.5519 MB / 0.5706 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.5781, allocations: 1.579 MB / 0.5721 GB, free: 2.602 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1291/0.7072, allocations: 4.452 MB / 0.5764 GB, free: 157.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.7114, allocations: 2.837 MB / 0.5792 GB, free: 157.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.681e-05/0.7115, allocations: 27.75 kB / 0.5792 GB, free: 157.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=610) (initialization): time 0.0128/0.7243, allocations: 6.612 MB / 0.5857 GB, free: 157.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.7244, allocations: 6.969 kB / 0.5857 GB, free: 157.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006024/0.7304, allocations: 2.643 MB / 0.5883 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/0.7353, allocations: 1.417 MB / 0.5897 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.7386, allocations: 1.034 MB / 0.5907 GB, free: 157.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.7487, allocations: 7.391 MB / 0.5979 GB, free: 154.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.7526, allocations: 226.7 kB / 0.5981 GB, free: 154.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/0.7535, allocations: 301.5 kB / 0.5984 GB, free: 154.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (562): * Single equations (assignments): 554 * 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.001055/0.7546, allocations: 359.4 kB / 0.5987 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.7551, allocations: 213.8 kB / 0.5989 GB, free: 154.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006917/0.762, allocations: 2.912 MB / 0.6018 GB, free: 154.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005923/0.7679, allocations: 2.585 MB / 0.6043 GB, free: 154.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.768, allocations: 7.812 kB / 0.6043 GB, free: 154.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.768, allocations: 6.078 kB / 0.6043 GB, free: 154.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.781, allocations: 6.289 MB / 0.6105 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7811, allocations: 3.312 kB / 0.6105 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008743/0.7819, allocations: 161.7 kB / 0.6106 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004721/0.7867, allocations: 1.352 MB / 0.6119 GB, free: 153 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.7869, allocations: 21.11 kB / 0.612 GB, free: 153 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.7976, allocations: 7.701 MB / 0.6195 GB, free: 149.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007256/0.7984, allocations: 1.353 MB / 0.6208 GB, free: 147.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008719/0.8071, allocations: 5.1 MB / 0.6258 GB, free: 145.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/0.8079, allocations: 290.5 kB / 0.6261 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/0.8085, allocations: 14.97 kB / 0.6261 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.81, allocations: 72.78 kB / 0.6261 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.8102, allocations: 61.06 kB / 0.6262 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.8104, allocations: 41.91 kB / 0.6262 GB, free: 145.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003076/0.8134, allocations: 1.435 MB / 0.6276 GB, free: 145 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005558/0.819, allocations: 0.6937 MB / 0.6283 GB, free: 145 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006614/0.8197, allocations: 164.5 kB / 0.6285 GB, free: 145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007645/0.8273, allocations: 4.188 MB / 0.6326 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8274, allocations: 0 / 0.6326 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.8303, allocations: 1.624 MB / 0.6342 GB, free: 141.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.8318, allocations: 200 kB / 0.6343 GB, free: 141.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.8437, allocations: 5.592 MB / 0.6398 GB, free: 136.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00372/0.8475, allocations: 2.527 MB / 0.6423 GB, free: 134.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8475, allocations: 0 / 0.6423 GB, free: 134.7 MB / 426.7 MB Notification: Performance of Templates: time 0.04982/0.8973, allocations: 28 MB / 0.6696 GB, free: 109.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches