Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [: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.001573/0.001573, allocations: 170.6 kB / 8.144 MB, free: 2.211 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.718/1.718, 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.001263/0.001263, allocations: 97.3 kB / 261.8 MB, free: 13.63 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.2618/0.2618, allocations: 43.5 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.567e-06/8.786e-06, allocations: 224 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3031, allocations: 58.85 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.466, allocations: 85.55 MB / 0.5489 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4663, allocations: 71.97 kB / 0.549 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01591/0.4822, allocations: 3.48 MB / 0.5524 GB, free: 9.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.4822, allocations: 0 / 0.5524 GB, free: 9.996 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.0004531/0.4827, allocations: 386.1 kB / 0.5528 GB, free: 9.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4828, allocations: 12.03 kB / 0.5528 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4828, allocations: 7.906 kB / 0.5528 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.4832, allocations: 206.7 kB / 0.553 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4832, allocations: 3.906 kB / 0.553 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4832, allocations: 0 / 0.553 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.747e-05/0.4833, allocations: 12 kB / 0.553 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.4834, allocations: 41.69 kB / 0.553 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4834, allocations: 0 / 0.553 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4834, allocations: 0 / 0.553 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4835, allocations: 0 / 0.553 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.4839, allocations: 261.4 kB / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4841, allocations: 29.66 kB / 0.5533 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.4841, allocations: 8.859 kB / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.4842, allocations: 4 kB / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4842, allocations: 34.66 kB / 0.5533 GB, free: 8.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.4842, allocations: 4 kB / 0.5534 GB, free: 8.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004904/0.4847, allocations: 105.2 kB / 0.5535 GB, free: 8.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4848, allocations: 51.41 kB / 0.5535 GB, free: 8.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.485, allocations: 169.4 kB / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4851, allocations: 25.7 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.4852, allocations: 150.6 kB / 0.5538 GB, free: 8.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.4852, allocations: 19.7 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.4852, allocations: 0 / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4854, allocations: 318.8 kB / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.4854, allocations: 7.938 kB / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.4854, allocations: 8 kB / 0.5542 GB, free: 7.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.4855, allocations: 8.188 kB / 0.5542 GB, free: 7.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4855, allocations: 4 kB / 0.5542 GB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001504/0.4857, allocations: 57.69 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4857, allocations: 4 kB / 0.5542 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4857, allocations: 4 kB / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4857, allocations: 0 / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4859, allocations: 19.92 kB / 0.5543 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4859, allocations: 0 / 0.5543 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.486, allocations: 11.91 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.486, allocations: 0 / 0.5543 GB, free: 7.867 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.152e-05/0.4861, allocations: 39.19 kB / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4861, allocations: 7.906 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.4863, allocations: 74 kB / 0.5544 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4864, allocations: 3.984 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4864, allocations: 3.906 kB / 0.5544 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4864, allocations: 0 / 0.5544 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.4869, allocations: 319.1 kB / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4869, allocations: 0 / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.487, allocations: 19.98 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.487, allocations: 0 / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.487, allocations: 7.906 kB / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.487, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4871, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/0.4873, allocations: 151.6 kB / 0.5549 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.4874, allocations: 100.9 kB / 0.555 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4874, allocations: 8.062 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4875, allocations: 7.984 kB / 0.555 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.4876, allocations: 4 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4876, allocations: 0 / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001867/0.4878, allocations: 144.1 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.4881, allocations: 23.92 kB / 0.5551 GB, free: 6.887 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.000886/0.489, allocations: 295 kB / 0.5554 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.4892, allocations: 28 kB / 0.5555 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4892, allocations: 0 / 0.5555 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.4892, allocations: 19.92 kB / 0.5555 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4895, allocations: 12.61 kB / 0.5555 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.4901, allocations: 169.4 kB / 0.5556 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.4905, allocations: 0.7231 MB / 0.5564 GB, free: 5.613 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4905, allocations: 0 / 0.5564 GB, free: 5.613 MB / 394.7 MB Notification: Performance of Templates: time 0.004577/0.4951, allocations: 1.541 MB / 0.5579 GB, free: 4.074 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches