Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [: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.0008409/0.000841, allocations: 190.9 kB / 7.803 MB, free: 2.5 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.077/1.077, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.000847/0.000847, allocations: 94.58 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.1573/0.1573, allocations: 43.48 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.979e-06/4.999e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 58.84 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3422, allocations: 86.31 MB / 0.5497 GB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.3424, allocations: 75.95 kB / 0.5497 GB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01481/0.3572, allocations: 7.408 MB / 0.557 GB, free: 5.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.3572, allocations: 8 kB / 0.557 GB, free: 5.145 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.0003792/0.3576, allocations: 0.5368 MB / 0.5575 GB, free: 4.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.3577, allocations: 12.03 kB / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.3577, allocations: 39.44 kB / 0.5576 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3581, allocations: 327.3 kB / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.3581, allocations: 0 / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.3581, allocations: 0 / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.527e-05/0.3582, allocations: 23.94 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.3582, allocations: 41.69 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-06/0.3583, allocations: 4 kB / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.3583, allocations: 0 / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-06/0.3583, allocations: 0 / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3587, allocations: 409.3 kB / 0.5583 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.3588, allocations: 38.42 kB / 0.5584 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.3588, allocations: 12.86 kB / 0.5584 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3588, allocations: 0 / 0.5584 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3589, allocations: 34.55 kB / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.3589, allocations: 0 / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.359, allocations: 77.23 kB / 0.5585 GB, free: 3.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.359, allocations: 51.41 kB / 0.5585 GB, free: 3.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.36, allocations: 0.7589 MB / 0.5593 GB, free: 2.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.36, allocations: 29.7 kB / 0.5593 GB, free: 2.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3601, allocations: 132.1 kB / 0.5594 GB, free: 2.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.3601, allocations: 3.906 kB / 0.5594 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.3601, allocations: 0 / 0.5594 GB, free: 2.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3602, allocations: 366.8 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.3603, allocations: 4 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.3603, allocations: 4 kB / 0.5598 GB, free: 2.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.3603, allocations: 12.06 kB / 0.5598 GB, free: 2.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3603, allocations: 3.938 kB / 0.5598 GB, free: 2.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.943e-05/0.3604, allocations: 85.12 kB / 0.5599 GB, free: 1.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3604, allocations: 8 kB / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3604, allocations: 0 / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3605, allocations: 0 / 0.5599 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.3605, allocations: 4 kB / 0.5599 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3605, allocations: 4 kB / 0.5599 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.3606, allocations: 12.02 kB / 0.5599 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3606, allocations: 0 / 0.5599 GB, free: 1.934 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 (2): * Single equations (assignments): 2 * 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.425e-05/0.3607, allocations: 112.8 kB / 0.56 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.3607, allocations: 39.47 kB / 0.5601 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.3609, allocations: 100.7 kB / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3609, allocations: 3.906 kB / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3609, allocations: 0 / 0.5602 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3609, allocations: 3.984 kB / 0.5602 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3611, allocations: 298 kB / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3612, allocations: 4.031 kB / 0.5605 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.3612, allocations: 7.984 kB / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3612, allocations: 0 / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3612, allocations: 0 / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3612, allocations: 3.938 kB / 0.5605 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3612, allocations: 4 kB / 0.5605 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001339/0.3614, allocations: 183 kB / 0.5606 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3615, allocations: 160.5 kB / 0.5608 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.3616, allocations: 0 / 0.5608 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.3617, allocations: 4 kB / 0.5608 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.3617, allocations: 0 / 0.5608 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3617, allocations: 0 / 0.5608 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005431/0.3623, allocations: 0.612 MB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.3625, allocations: 55.92 kB / 0.5615 GB, free: 280 kB / 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 (2): * Single equations (assignments): 2 * 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.0004706/0.363, allocations: 261.7 kB / 0.5617 GB, free: 48 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.3631, allocations: 16 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3631, allocations: 0 / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.3631, allocations: 11.98 kB / 0.5617 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.3633, allocations: 21.83 kB / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3643, allocations: 0.6879 MB / 0.5624 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.3647, allocations: 0.8528 MB / 0.5633 GB, free: 14.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3647, allocations: 0 / 0.5633 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Templates: time 0.004611/0.3694, allocations: 1.965 MB / 0.5652 GB, free: 12.42 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches