Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [: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 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 178.8 kB / 8.52 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.4 MB / 230.3 MB, free: 7.684 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 82.23 kB / 281.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1957/0.1957, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.498e-06, allocations: 4.219 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 61.91 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.4056, allocations: 88.49 MB / 0.5805 GB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4058, allocations: 71.97 kB / 0.5806 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01504/0.4209, allocations: 5.305 MB / 0.5858 GB, free: 3.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.421, allocations: 4 kB / 0.5858 GB, free: 3.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004905/0.4215, allocations: 402.1 kB / 0.5862 GB, free: 2.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4215, allocations: 13.22 kB / 0.5862 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.4216, allocations: 11.81 kB / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.4219, allocations: 218.9 kB / 0.5864 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4219, allocations: 0 / 0.5864 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4219, allocations: 7.906 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.957e-05/0.422, allocations: 19.92 kB / 0.5864 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4221, allocations: 57.67 kB / 0.5865 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4221, allocations: 3.938 kB / 0.5865 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4222, allocations: 4 kB / 0.5865 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4222, allocations: 0 / 0.5865 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.4226, allocations: 269.4 kB / 0.5867 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4227, allocations: 46.69 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.4227, allocations: 24.92 kB / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.4228, allocations: 0 / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.4229, allocations: 67.39 kB / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4229, allocations: 0 / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004085/0.4233, allocations: 133.1 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4234, allocations: 59.41 kB / 0.587 GB, free: 1.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4235, allocations: 189.2 kB / 0.5872 GB, free: 1.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4236, allocations: 33.7 kB / 0.5873 GB, free: 1.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.4236, allocations: 92.12 kB / 0.5873 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.4237, allocations: 23.66 kB / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.4237, allocations: 0 / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4238, allocations: 326.8 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.4238, allocations: 12 kB / 0.5877 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/0.4239, allocations: 37.69 kB / 0.5877 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.4239, allocations: 24 kB / 0.5878 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.424, allocations: 0 / 0.5878 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001402/0.4241, allocations: 101.4 kB / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.4241, allocations: 4 kB / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4241, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4241, allocations: 4.188 kB / 0.5879 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.4242, allocations: 15.98 kB / 0.5879 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4243, allocations: 3.938 kB / 0.5879 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.4243, allocations: 4 kB / 0.5879 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4243, allocations: 7.938 kB / 0.5879 GB, free: 0.7188 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.742e-05/0.4244, allocations: 105 kB / 0.588 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4244, allocations: 11.81 kB / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.4247, allocations: 115 kB / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4247, allocations: 0 / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4247, allocations: 0 / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4247, allocations: 0 / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.4252, allocations: 379.8 kB / 0.5885 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4252, allocations: 3.938 kB / 0.5885 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.4252, allocations: 12 kB / 0.5885 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4252, allocations: 0 / 0.5885 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4252, allocations: 3.984 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4253, allocations: 7.938 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4253, allocations: 240 / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000209/0.4255, allocations: 206.1 kB / 0.5887 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.4256, allocations: 96.92 kB / 0.5888 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4256, allocations: 4 kB / 0.5888 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.4257, allocations: 7.922 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4257, allocations: 4 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4258, allocations: 7.906 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001373/0.4259, allocations: 156.2 kB / 0.589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.4262, allocations: 28 kB / 0.589 GB, free: 15.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007987/0.427, allocations: 346 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.4271, allocations: 55.92 kB / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4272, allocations: 64 / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.4272, allocations: 35.94 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4275, allocations: 23.98 kB / 0.5894 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.4279, allocations: 164.5 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.4283, allocations: 0.7348 MB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4283, allocations: 64 / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004395/0.4327, allocations: 1.676 MB / 0.5919 GB, free: 12.5 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches