Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") [: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.00088/0.0008802, allocations: 189.1 kB / 7.806 MB, free: 2.496 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.1/1.1, 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.0008422/0.0008422, allocations: 87.72 kB / 261.4 MB, free: 13.55 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.1634/0.1634, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-06/5.561e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3489, allocations: 85.64 MB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.3491, allocations: 75.89 kB / 0.5491 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008022/0.3572, allocations: 3.172 MB / 0.5522 GB, free: 10.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.3572, allocations: 0 / 0.5522 GB, free: 10.08 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.0002359/0.3574, allocations: 378.2 kB / 0.5525 GB, free: 9.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.007e-05/0.3575, allocations: 8.031 kB / 0.5526 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.3575, allocations: 11.91 kB / 0.5526 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3577, allocations: 198.5 kB / 0.5528 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.3577, allocations: 3.906 kB / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.3577, allocations: 4 kB / 0.5528 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.715e-05/0.3577, allocations: 12 kB / 0.5528 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.717e-05/0.3578, allocations: 41.69 kB / 0.5528 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.3578, allocations: 0 / 0.5528 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-06/0.3578, allocations: 3.938 kB / 0.5528 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-06/0.3578, allocations: 4 kB / 0.5528 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.3581, allocations: 253.4 kB / 0.5531 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.3582, allocations: 33.7 kB / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.3582, allocations: 12.86 kB / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3582, allocations: 4 kB / 0.5531 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.3582, allocations: 30.56 kB / 0.5531 GB, free: 8.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3582, allocations: 0 / 0.5531 GB, free: 8.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002678/0.3585, allocations: 109.4 kB / 0.5532 GB, free: 8.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.3585, allocations: 55.41 kB / 0.5533 GB, free: 8.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.3586, allocations: 129.2 kB / 0.5534 GB, free: 8.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3586, allocations: 25.7 kB / 0.5534 GB, free: 8.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.3587, allocations: 88.12 kB / 0.5535 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.3587, allocations: 19.66 kB / 0.5535 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.3587, allocations: 0 / 0.5535 GB, free: 8.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.3588, allocations: 322.8 kB / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.3588, allocations: 8 kB / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.3588, allocations: 15.94 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.3589, allocations: 19.98 kB / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3589, allocations: 0 / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.254e-05/0.359, allocations: 65.53 kB / 0.554 GB, free: 8.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.359, allocations: 8 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.359, allocations: 0 / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.359, allocations: 0 / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.3591, allocations: 19.98 kB / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.3591, allocations: 0 / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.3591, allocations: 8 kB / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3591, allocations: 4 kB / 0.554 GB, free: 8.023 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 4.534e-05/0.3592, allocations: 108.3 kB / 0.5541 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3592, allocations: 7.906 kB / 0.5541 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.3594, allocations: 78.11 kB / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3594, allocations: 0 / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3594, allocations: 0 / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3594, allocations: 7.984 kB / 0.5542 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3597, allocations: 315.1 kB / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3597, allocations: 0 / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.3597, allocations: 12 kB / 0.5545 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3597, allocations: 0 / 0.5545 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.3597, allocations: 0 / 0.5545 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3598, allocations: 3.984 kB / 0.5545 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3598, allocations: 0 / 0.5545 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001109/0.3599, allocations: 175.4 kB / 0.5547 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3599, allocations: 81.11 kB / 0.5548 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3599, allocations: 3.906 kB / 0.5548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.36, allocations: 8.125 kB / 0.5548 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.36, allocations: 7.984 kB / 0.5548 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3601, allocations: 0 / 0.5548 GB, free: 7.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.574e-05/0.3601, allocations: 107.3 kB / 0.5549 GB, free: 7.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.3603, allocations: 23.94 kB / 0.5549 GB, free: 7.016 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.0004565/0.3608, allocations: 304.6 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.3609, allocations: 39.92 kB / 0.5552 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.3609, allocations: 0 / 0.5552 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.3609, allocations: 16 kB / 0.5552 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3611, allocations: 23.84 kB / 0.5553 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.3613, allocations: 111.6 kB / 0.5554 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3615, allocations: 0.7114 MB / 0.5561 GB, free: 5.801 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3615, allocations: 0 / 0.5561 GB, free: 5.801 MB / 394.7 MB Notification: Performance of Templates: time 0.002497/0.364, allocations: 1.105 MB / 0.5571 GB, free: 4.699 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches