Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [: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.0009581/0.0009582, allocations: 192.2 kB / 7.804 MB, free: 2.488 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.045/1.045, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0007656/0.0007656, allocations: 82.52 kB / 261.4 MB, free: 13.57 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.1459/0.1459, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09616/0.2909, allocations: 86.88 MB / 0.5503 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.2911, allocations: 71.95 kB / 0.5503 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01349/0.3046, allocations: 5.091 MB / 0.5553 GB, free: 7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3047, allocations: 7.938 kB / 0.5553 GB, free: 6.992 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.0003622/0.3051, allocations: 406 kB / 0.5557 GB, free: 6.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.3051, allocations: 8.031 kB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.3051, allocations: 11.81 kB / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3054, allocations: 218.9 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3054, allocations: 3.906 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3054, allocations: 4 kB / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.372e-05/0.3055, allocations: 20 kB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.3056, allocations: 53.61 kB / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3056, allocations: 0 / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3056, allocations: 0 / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3056, allocations: 4 kB / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.3059, allocations: 281.4 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.306, allocations: 50.69 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.3061, allocations: 20.92 kB / 0.5563 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.3061, allocations: 3.938 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.308e-05/0.3062, allocations: 59.41 kB / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3062, allocations: 0 / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003287/0.3065, allocations: 141.1 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3065, allocations: 51.41 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3067, allocations: 185.5 kB / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3067, allocations: 29.64 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.3068, allocations: 96.12 kB / 0.5569 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3068, allocations: 19.7 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.3068, allocations: 4 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.3069, allocations: 322.8 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.3069, allocations: 20 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.307, allocations: 29.72 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.307, allocations: 23.98 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.307, allocations: 0 / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001516/0.3072, allocations: 97.42 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.3072, allocations: 4 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3072, allocations: 0 / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.3072, allocations: 0 / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.3073, allocations: 24.02 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3073, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3074, allocations: 11.84 kB / 0.5574 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3074, allocations: 192 / 0.5574 GB, free: 4.621 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 5.86e-05/0.3075, allocations: 112.4 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3075, allocations: 19.73 kB / 0.5575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.3077, allocations: 103.2 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3077, allocations: 4 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3077, allocations: 4 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3077, allocations: 0 / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.308, allocations: 375.8 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3081, allocations: 0 / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.3081, allocations: 15.98 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3081, allocations: 0 / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3081, allocations: 4.188 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3081, allocations: 11.94 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3081, allocations: 7.969 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001572/0.3083, allocations: 201.8 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.3084, allocations: 96.98 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3084, allocations: 4 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3085, allocations: 0 / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3085, allocations: 23.83 kB / 0.5583 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3085, allocations: 4 kB / 0.5583 GB, free: 3.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001115/0.3086, allocations: 156.2 kB / 0.5585 GB, free: 3.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000232/0.3089, allocations: 24 kB / 0.5585 GB, free: 3.379 MB / 394.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.0005812/0.3095, allocations: 352 kB / 0.5589 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.3096, allocations: 47.94 kB / 0.5589 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3096, allocations: 0 / 0.5589 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.3096, allocations: 31.94 kB / 0.5589 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.3099, allocations: 27.83 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.3102, allocations: 176.6 kB / 0.5591 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.3105, allocations: 0.7348 MB / 0.5598 GB, free: 1.996 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3105, allocations: 0 / 0.5598 GB, free: 1.996 MB / 394.7 MB Notification: Performance of Templates: time 0.003458/0.3139, allocations: 1.662 MB / 0.5615 GB, free: 352 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches