Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002618/0.002623, allocations: 172.4 kB / 8.147 MB, free: 2.152 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 92.94 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2593/0.2593, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.259e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2687, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.4418, allocations: 85.52 MB / 0.5489 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4422, allocations: 71.95 kB / 0.549 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01973/0.4619, allocations: 3.195 MB / 0.5521 GB, free: 10.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.462, allocations: 4 kB / 0.5521 GB, free: 10.28 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.000585/0.4626, allocations: 374.1 kB / 0.5524 GB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4627, allocations: 8.031 kB / 0.5524 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.4627, allocations: 11.81 kB / 0.5525 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.4631, allocations: 190.4 kB / 0.5526 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4631, allocations: 4 kB / 0.5526 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4632, allocations: 4 kB / 0.5526 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.786e-05/0.4633, allocations: 8 kB / 0.5526 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4634, allocations: 45.67 kB / 0.5527 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4635, allocations: 0 / 0.5527 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4635, allocations: 0 / 0.5527 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4635, allocations: 4 kB / 0.5527 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.464, allocations: 257.4 kB / 0.5529 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.4643, allocations: 29.72 kB / 0.553 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.4644, allocations: 8.859 kB / 0.553 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.4644, allocations: 11.98 kB / 0.553 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4645, allocations: 30.56 kB / 0.553 GB, free: 9.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.4645, allocations: 0 / 0.553 GB, free: 9.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006679/0.4652, allocations: 105.3 kB / 0.5531 GB, free: 9.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4652, allocations: 51.41 kB / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.4655, allocations: 141.2 kB / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4655, allocations: 25.7 kB / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.4656, allocations: 150.6 kB / 0.5535 GB, free: 8.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.4657, allocations: 11.75 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.4657, allocations: 0 / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4659, allocations: 322.7 kB / 0.5538 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.4659, allocations: 12 kB / 0.5538 GB, free: 8.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.466, allocations: 8.062 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.4661, allocations: 16.11 kB / 0.5538 GB, free: 8.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4661, allocations: 4 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.4663, allocations: 53.64 kB / 0.5539 GB, free: 8.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4664, allocations: 4 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4664, allocations: 0 / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4664, allocations: 0 / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.4666, allocations: 19.98 kB / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.4666, allocations: 0 / 0.5539 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.4667, allocations: 11.98 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.4668, allocations: 0 / 0.5539 GB, free: 8.203 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 6.926e-05/0.4669, allocations: 31.02 kB / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.467, allocations: 11.84 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.4673, allocations: 69.86 kB / 0.554 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4673, allocations: 0 / 0.554 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4673, allocations: 11.92 kB / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4673, allocations: 0 / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.468, allocations: 299.1 kB / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4681, allocations: 0 / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.4682, allocations: 15.98 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4683, allocations: 0 / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4683, allocations: 4 kB / 0.5543 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4683, allocations: 4 kB / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4683, allocations: 0 / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000272/0.4686, allocations: 167.6 kB / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.4687, allocations: 89 kB / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.4688, allocations: 0 / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.469, allocations: 8 kB / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4691, allocations: 7.984 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.4691, allocations: 0 / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001813/0.4693, allocations: 113.9 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.4699, allocations: 16 kB / 0.5547 GB, free: 7.281 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.001206/0.4711, allocations: 307.7 kB / 0.555 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4713, allocations: 39.94 kB / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4713, allocations: 0 / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.4714, allocations: 12 kB / 0.5551 GB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/0.482, allocations: 27.69 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.4827, allocations: 133.4 kB / 0.5552 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.4832, allocations: 0.7114 MB / 0.5559 GB, free: 6.035 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4832, allocations: 0 / 0.5559 GB, free: 6.035 MB / 394.7 MB Notification: Performance of Templates: time 0.005716/0.489, allocations: 1.434 MB / 0.5573 GB, free: 4.598 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches