Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") [: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.0009003/0.0009003, allocations: 191.5 kB / 7.804 MB, free: 2.441 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.065/1.065, 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.0007767/0.0007766, allocations: 91.44 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.1552/0.1552, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.171e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3439, allocations: 85.64 MB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.3442, allocations: 71.95 kB / 0.5491 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008495/0.3527, allocations: 3.263 MB / 0.5523 GB, free: 9.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3527, allocations: 7.938 kB / 0.5523 GB, free: 9.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003061/0.353, allocations: 370.2 kB / 0.5526 GB, free: 9.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3531, allocations: 8.031 kB / 0.5526 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3531, allocations: 7.906 kB / 0.5526 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3533, allocations: 198.3 kB / 0.5528 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.3533, allocations: 4 kB / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3534, allocations: 0 / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.923e-05/0.3534, allocations: 12 kB / 0.5528 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.854e-05/0.3535, allocations: 41.69 kB / 0.5529 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3535, allocations: 3.906 kB / 0.5529 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3535, allocations: 0 / 0.5529 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3536, allocations: 3.938 kB / 0.5529 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.3539, allocations: 273.4 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.354, allocations: 29.72 kB / 0.5532 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.3541, allocations: 12.86 kB / 0.5532 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3541, allocations: 4.078 kB / 0.5532 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3541, allocations: 30.56 kB / 0.5532 GB, free: 8.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3541, allocations: 4 kB / 0.5532 GB, free: 8.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003632/0.3545, allocations: 105.3 kB / 0.5533 GB, free: 8.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3546, allocations: 55.39 kB / 0.5534 GB, free: 8.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3547, allocations: 141 kB / 0.5535 GB, free: 8.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3547, allocations: 25.7 kB / 0.5535 GB, free: 8.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.3548, allocations: 96.06 kB / 0.5536 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3548, allocations: 23.72 kB / 0.5537 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.3548, allocations: 0 / 0.5537 GB, free: 8.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.3549, allocations: 314.8 kB / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.3549, allocations: 12 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.3549, allocations: 20 kB / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.355, allocations: 19.98 kB / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.355, allocations: 0 / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.703e-05/0.3551, allocations: 65.53 kB / 0.5541 GB, free: 7.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3551, allocations: 8 kB / 0.5541 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3551, allocations: 4 kB / 0.5541 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.3551, allocations: 0 / 0.5541 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.3552, allocations: 15.98 kB / 0.5541 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.3552, allocations: 0 / 0.5541 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.3553, allocations: 7.906 kB / 0.5541 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3553, allocations: 4 kB / 0.5541 GB, free: 7.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.379e-05/0.3553, allocations: 110.4 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3554, allocations: 7.906 kB / 0.5542 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3555, allocations: 77.8 kB / 0.5543 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3555, allocations: 0 / 0.5543 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3555, allocations: 7.938 kB / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3555, allocations: 144 / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3558, allocations: 315 kB / 0.5546 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3558, allocations: 0 / 0.5546 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.3559, allocations: 23.98 kB / 0.5546 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3559, allocations: 0 / 0.5546 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3559, allocations: 0 / 0.5546 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3559, allocations: 4 kB / 0.5546 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3559, allocations: 3.906 kB / 0.5546 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001243/0.3561, allocations: 167.8 kB / 0.5548 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.3561, allocations: 93.02 kB / 0.5549 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3561, allocations: 0 / 0.5549 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.3562, allocations: 7.984 kB / 0.5549 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.3563, allocations: 4 kB / 0.5549 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3563, allocations: 3.906 kB / 0.5549 GB, free: 7.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.104e-05/0.3564, allocations: 126.2 kB / 0.555 GB, free: 6.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.3566, allocations: 23.92 kB / 0.555 GB, free: 6.859 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005812/0.3572, allocations: 299.3 kB / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.3573, allocations: 35.94 kB / 0.5554 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3573, allocations: 0 / 0.5554 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.3573, allocations: 16 kB / 0.5554 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.3575, allocations: 15.84 kB / 0.5554 GB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.3578, allocations: 127.6 kB / 0.5555 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3581, allocations: 0.7308 MB / 0.5562 GB, free: 5.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3581, allocations: 0 / 0.5562 GB, free: 5.625 MB / 394.7 MB Notification: Performance of Templates: time 0.002866/0.361, allocations: 1.136 MB / 0.5573 GB, free: 4.496 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches