Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 189 kB / 7.807 MB, free: 2.488 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.065/1.065, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007735/0.0007734, allocations: 94.84 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.1559/0.1559, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.212e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3409, allocations: 85.53 MB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.3411, allocations: 71.97 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008306/0.3495, allocations: 3.196 MB / 0.5521 GB, free: 10.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3495, allocations: 0 / 0.5521 GB, free: 10.17 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.0002806/0.3498, allocations: 377.8 kB / 0.5525 GB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.3498, allocations: 12.03 kB / 0.5525 GB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3499, allocations: 11.81 kB / 0.5525 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.35, allocations: 186.9 kB / 0.5527 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.35, allocations: 4 kB / 0.5527 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3501, allocations: 0 / 0.5527 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.923e-05/0.3501, allocations: 12 kB / 0.5527 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.317e-05/0.3502, allocations: 41.69 kB / 0.5527 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3502, allocations: 0 / 0.5527 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3502, allocations: 3.938 kB / 0.5527 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3502, allocations: 7.984 kB / 0.5527 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.3505, allocations: 253.4 kB / 0.553 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3507, allocations: 29.7 kB / 0.553 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.3507, allocations: 8.859 kB / 0.553 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3507, allocations: 3.906 kB / 0.553 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.3507, allocations: 34.56 kB / 0.553 GB, free: 9.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3507, allocations: 0 / 0.553 GB, free: 9.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000339/0.3511, allocations: 101.4 kB / 0.5531 GB, free: 8.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3511, allocations: 55.41 kB / 0.5532 GB, free: 8.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3512, allocations: 133.2 kB / 0.5533 GB, free: 8.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3512, allocations: 25.7 kB / 0.5533 GB, free: 8.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3513, allocations: 96.12 kB / 0.5534 GB, free: 8.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3513, allocations: 15.75 kB / 0.5535 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.3513, allocations: 3.938 kB / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.3514, allocations: 322.7 kB / 0.5538 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.3514, allocations: 8 kB / 0.5538 GB, free: 8.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.3514, allocations: 8 kB / 0.5538 GB, free: 8.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.3515, allocations: 12 kB / 0.5538 GB, free: 8.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3515, allocations: 0 / 0.5538 GB, free: 8.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.613e-05/0.3516, allocations: 65.53 kB / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.3516, allocations: 8 kB / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3516, allocations: 0 / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.3516, allocations: 0 / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.3517, allocations: 16.23 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.3517, allocations: 0 / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.3517, allocations: 12 kB / 0.5539 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3518, allocations: 4 kB / 0.5539 GB, free: 8.137 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.746e-05/0.3518, allocations: 102.4 kB / 0.554 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3519, allocations: 11.81 kB / 0.554 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.352, allocations: 65.86 kB / 0.5541 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.352, allocations: 0 / 0.5541 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.352, allocations: 3.938 kB / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.352, allocations: 4 kB / 0.5541 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.3523, allocations: 303.1 kB / 0.5544 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3523, allocations: 4 kB / 0.5544 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.3524, allocations: 12 kB / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3524, allocations: 0 / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3524, allocations: 3.984 kB / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3524, allocations: 0 / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3524, allocations: 4 kB / 0.5544 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000122/0.3525, allocations: 159.5 kB / 0.5545 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3526, allocations: 96.86 kB / 0.5546 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3526, allocations: 0 / 0.5546 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3527, allocations: 7.984 kB / 0.5546 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3527, allocations: 0 / 0.5546 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3527, allocations: 4 kB / 0.5546 GB, free: 7.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.457e-05/0.3528, allocations: 114.7 kB / 0.5547 GB, free: 7.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.3531, allocations: 23.92 kB / 0.5548 GB, free: 7.145 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.0005605/0.3536, allocations: 302.3 kB / 0.5551 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.3537, allocations: 31.94 kB / 0.5551 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3537, allocations: 0 / 0.5551 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.3538, allocations: 19.98 kB / 0.5551 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.3539, allocations: 15.8 kB / 0.5551 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.3542, allocations: 119.6 kB / 0.5552 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.3545, allocations: 0.7185 MB / 0.5559 GB, free: 5.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3545, allocations: 0 / 0.5559 GB, free: 5.93 MB / 394.7 MB Notification: Performance of Templates: time 0.002983/0.3575, allocations: 1.089 MB / 0.557 GB, free: 4.848 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches