Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [: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.0008893/0.0008893, allocations: 190.5 kB / 7.804 MB, free: 2.457 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.018/1.018, allocations: 205.2 MB / 213.4 MB, free: 13.94 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.0007832/0.0007832, allocations: 82.5 kB / 261.4 MB, free: 13.56 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.1527/0.1527, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.584e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3183, allocations: 88.51 MB / 0.5518 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3186, allocations: 71.95 kB / 0.5519 GB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01665/0.3352, allocations: 6.183 MB / 0.5579 GB, free: 4.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.3353, allocations: 8.219 kB / 0.5579 GB, free: 4.152 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006946/0.336, allocations: 0.5453 MB / 0.5585 GB, free: 3.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.336, allocations: 8.031 kB / 0.5585 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.3362, allocations: 55.5 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3365, allocations: 254.5 kB / 0.5588 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3366, allocations: 12 kB / 0.5588 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3366, allocations: 31.89 kB / 0.5588 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003138/0.3369, allocations: 165.3 kB / 0.559 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.3373, allocations: 245.4 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.3373, allocations: 11.98 kB / 0.5592 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3373, allocations: 3.906 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3374, allocations: 8 kB / 0.5592 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3389, allocations: 1.223 MB / 0.5604 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.3393, allocations: 273.4 kB / 0.5607 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3394, allocations: 88.3 kB / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3394, allocations: 4.469 kB / 0.5608 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3395, allocations: 46.5 kB / 0.5608 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 1.383e-06/0.3395, allocations: 0 / 0.5608 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001382/0.3408, allocations: 1.275 MB / 0.5621 GB, free: 15.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3409, allocations: 170.1 kB / 0.5622 GB, free: 15.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3411, allocations: 167.9 kB / 0.5624 GB, free: 15.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3411, allocations: 29.7 kB / 0.5624 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.3412, allocations: 160.3 kB / 0.5626 GB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.3413, allocations: 145.8 kB / 0.5627 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.3413, allocations: 0 / 0.5627 GB, free: 14.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3414, allocations: 346.7 kB / 0.563 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3415, allocations: 80.94 kB / 0.5631 GB, free: 14.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3417, allocations: 230.5 kB / 0.5633 GB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3419, allocations: 120.1 kB / 0.5634 GB, free: 13.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3419, allocations: 4 kB / 0.5634 GB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004774/0.3424, allocations: 345.1 kB / 0.5638 GB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3424, allocations: 4 kB / 0.5638 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3424, allocations: 11.98 kB / 0.5638 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3425, allocations: 8 kB / 0.5638 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3428, allocations: 111.8 kB / 0.5639 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/0.3429, allocations: 11.94 kB / 0.5639 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.3431, allocations: 11.98 kB / 0.5639 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.3431, allocations: 20 kB / 0.5639 GB, free: 13.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.3432, allocations: 129.6 kB / 0.5641 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3433, allocations: 27.72 kB / 0.5641 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3435, allocations: 107.2 kB / 0.5642 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3435, allocations: 11.94 kB / 0.5642 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3435, allocations: 0 / 0.5642 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3436, allocations: 0 / 0.5642 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3448, allocations: 0.9483 MB / 0.5651 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3448, allocations: 8.031 kB / 0.5651 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.3452, allocations: 95.89 kB / 0.5652 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.3452, allocations: 8 kB / 0.5652 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.3453, allocations: 4 kB / 0.5652 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3453, allocations: 7.938 kB / 0.5653 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3453, allocations: 4 kB / 0.5653 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007089/0.346, allocations: 0.9285 MB / 0.5662 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.3461, allocations: 104.7 kB / 0.5663 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3461, allocations: 12.22 kB / 0.5663 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.3464, allocations: 0 / 0.5663 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3465, allocations: 27.88 kB / 0.5663 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3465, allocations: 23.92 kB / 0.5663 GB, free: 10.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.86e-05/0.3466, allocations: 140.5 kB / 0.5665 GB, free: 10.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.3471, allocations: 68 kB / 0.5665 GB, free: 10.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.3473, allocations: 104.1 kB / 0.5666 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.3476, allocations: 240.9 kB / 0.5669 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3476, allocations: 4.062 kB / 0.5669 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3478, allocations: 115.9 kB / 0.567 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.3483, allocations: 58.97 kB / 0.567 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3499, allocations: 1.1 MB / 0.5681 GB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.3503, allocations: 0.8343 MB / 0.5689 GB, free: 7.996 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3503, allocations: 0 / 0.5689 GB, free: 7.996 MB / 410.7 MB Notification: Performance of Templates: time 0.0062/0.3565, allocations: 3.134 MB / 0.572 GB, free: 4.883 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches