Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") [: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.0008909/0.000891, allocations: 194.5 kB / 7.807 MB, free: 2.492 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.078/1.078, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.000803/0.000803, allocations: 93.56 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.1594/0.1594, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.99e-06/5.009e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2434, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3471, allocations: 85.97 MB / 0.5493 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3473, allocations: 75.95 kB / 0.5494 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01503/0.3624, allocations: 5.79 MB / 0.5551 GB, free: 7.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3624, allocations: 11.94 kB / 0.5551 GB, free: 7.191 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.0003185/0.3627, allocations: 394.3 kB / 0.5555 GB, free: 6.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.3627, allocations: 8.031 kB / 0.5555 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3628, allocations: 7.906 kB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.363, allocations: 186.9 kB / 0.5556 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.363, allocations: 0 / 0.5556 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.363, allocations: 4 kB / 0.5556 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.351e-05/0.3631, allocations: 15.91 kB / 0.5557 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/0.3631, allocations: 55.41 kB / 0.5557 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3632, allocations: 4 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3632, allocations: 3.938 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3632, allocations: 0 / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3635, allocations: 265.3 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3636, allocations: 33.7 kB / 0.556 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.3637, allocations: 8.859 kB / 0.556 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3637, allocations: 4 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3637, allocations: 34.56 kB / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3637, allocations: 0 / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.364, allocations: 109.4 kB / 0.5562 GB, free: 5.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3641, allocations: 81.11 kB / 0.5562 GB, free: 5.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.3642, allocations: 121 kB / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3642, allocations: 25.7 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.3642, allocations: 88.12 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3643, allocations: 19.75 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.3643, allocations: 0 / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.3643, allocations: 318.8 kB / 0.5568 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.3644, allocations: 12 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.3644, allocations: 25.72 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.3644, allocations: 15.98 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3645, allocations: 7.844 kB / 0.5568 GB, free: 5.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.849e-05/0.3645, allocations: 57.94 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3646, allocations: 8 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3646, allocations: 3.906 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.3646, allocations: 3.938 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.3647, allocations: 24.02 kB / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3647, allocations: 0 / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.3647, allocations: 4 kB / 0.5569 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3647, allocations: 4 kB / 0.5569 GB, free: 5.062 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.82e-05/0.3648, allocations: 102.4 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3648, allocations: 11.91 kB / 0.5571 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.365, allocations: 73.73 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.365, allocations: 0 / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.365, allocations: 0 / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.365, allocations: 7.891 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3653, allocations: 311.1 kB / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3653, allocations: 0 / 0.5574 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.3654, allocations: 19.98 kB / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3654, allocations: 0 / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3654, allocations: 8 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3654, allocations: 3.906 kB / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3654, allocations: 0 / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001108/0.3655, allocations: 159.4 kB / 0.5576 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3656, allocations: 93.08 kB / 0.5577 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3656, allocations: 7.984 kB / 0.5577 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.3657, allocations: 8 kB / 0.5577 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.3657, allocations: 3.984 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3657, allocations: 4.188 kB / 0.5577 GB, free: 4.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.127e-05/0.3658, allocations: 95.28 kB / 0.5578 GB, free: 4.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.366, allocations: 35.92 kB / 0.5578 GB, free: 4.039 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.0005602/0.3666, allocations: 334.8 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.3666, allocations: 31.94 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3667, allocations: 0 / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.3667, allocations: 19.98 kB / 0.5582 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.3669, allocations: 15.77 kB / 0.5582 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.3671, allocations: 107.8 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.3674, allocations: 0.7114 MB / 0.559 GB, free: 2.809 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3674, allocations: 3.938 kB / 0.559 GB, free: 2.805 MB / 394.7 MB Notification: Performance of Templates: time 0.003029/0.3704, allocations: 1.352 MB / 0.5604 GB, free: 1.461 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches