Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [: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.001663/0.001663, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.722/1.722, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001271/0.001271, allocations: 98.83 kB / 261.8 MB, free: 13.64 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.2607/0.2607, allocations: 43.49 MB / 353.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.565e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2977, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4562, allocations: 85.56 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.4566, allocations: 71.47 kB / 0.549 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0184/0.475, allocations: 3.665 MB / 0.5526 GB, free: 9.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.4751, allocations: 11.98 kB / 0.5526 GB, free: 9.777 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.0005164/0.4756, allocations: 382.2 kB / 0.5529 GB, free: 9.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4756, allocations: 8.031 kB / 0.5529 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.4757, allocations: 15.81 kB / 0.553 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.4761, allocations: 206.8 kB / 0.5532 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4761, allocations: 0 / 0.5532 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.4762, allocations: 8 kB / 0.5532 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.959e-05/0.4763, allocations: 19.92 kB / 0.5532 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.4764, allocations: 33.7 kB / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4764, allocations: 0 / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4764, allocations: 0 / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4764, allocations: 7.984 kB / 0.5532 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.4769, allocations: 261.4 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4772, allocations: 41.62 kB / 0.5535 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.4772, allocations: 16.8 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4772, allocations: 0 / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4773, allocations: 30.56 kB / 0.5536 GB, free: 8.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4773, allocations: 0 / 0.5536 GB, free: 8.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005982/0.4779, allocations: 113.2 kB / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.478, allocations: 55.41 kB / 0.5537 GB, free: 8.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.4784, allocations: 213.9 kB / 0.5539 GB, free: 8.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4784, allocations: 25.7 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.4785, allocations: 150.6 kB / 0.5541 GB, free: 8.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.4785, allocations: 23.66 kB / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.4785, allocations: 3.938 kB / 0.5541 GB, free: 8.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4787, allocations: 318.8 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.4787, allocations: 12 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.4788, allocations: 8 kB / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.4789, allocations: 8 kB / 0.5545 GB, free: 7.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4789, allocations: 0 / 0.5545 GB, free: 7.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.479, allocations: 53.69 kB / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.479, allocations: 6.812 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4791, allocations: 4 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4791, allocations: 0 / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4793, allocations: 16.25 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4793, allocations: 3.984 kB / 0.5545 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.4794, allocations: 11.91 kB / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4794, allocations: 0 / 0.5545 GB, free: 7.566 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.62e-05/0.4795, allocations: 35.2 kB / 0.5546 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.4795, allocations: 11.81 kB / 0.5546 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4798, allocations: 74.77 kB / 0.5547 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4798, allocations: 4 kB / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4798, allocations: 0 / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4798, allocations: 0 / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4804, allocations: 339 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4804, allocations: 0 / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.4806, allocations: 12 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4806, allocations: 0 / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4806, allocations: 4 kB / 0.555 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4806, allocations: 3.984 kB / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4807, allocations: 0 / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002167/0.4809, allocations: 163.4 kB / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.481, allocations: 96.91 kB / 0.5553 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.481, allocations: 0 / 0.5553 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4812, allocations: 11.98 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4812, allocations: 7.938 kB / 0.5553 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4813, allocations: 0 / 0.5553 GB, free: 6.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002739/0.4815, allocations: 179.2 kB / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.4819, allocations: 20 kB / 0.5555 GB, free: 6.539 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.0008663/0.4828, allocations: 312.8 kB / 0.5558 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.4829, allocations: 28 kB / 0.5558 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4829, allocations: 0 / 0.5558 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/0.483, allocations: 19.94 kB / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4834, allocations: 16.03 kB / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.484, allocations: 213.3 kB / 0.556 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.4845, allocations: 0.7231 MB / 0.5567 GB, free: 5.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4845, allocations: 0 / 0.5567 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.005203/0.4897, allocations: 1.675 MB / 0.5584 GB, free: 3.539 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches