Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,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.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.703/1.703, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008357, allocations: 98.61 kB / 261.8 MB, free: 1.609 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.2025/0.2025, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.432e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5234/0.6582, allocations: 85.73 MB / 0.5497 GB, free: 8.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.6585, allocations: 72.75 kB / 0.5497 GB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.6714, allocations: 3.905 MB / 0.5535 GB, free: 5.809 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6714, allocations: 7.938 kB / 0.5535 GB, free: 5.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.6714, allocations: 3.938 kB / 0.5536 GB, free: 5.797 MB / 362.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.0003593/0.6718, allocations: 374.1 kB / 0.5539 GB, free: 5.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6719, allocations: 12.03 kB / 0.5539 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.6719, allocations: 7.906 kB / 0.5539 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.6722, allocations: 206.2 kB / 0.5541 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6722, allocations: 0 / 0.5541 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.6722, allocations: 4 kB / 0.5541 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.876e-05/0.6723, allocations: 15.8 kB / 0.5541 GB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/0.6724, allocations: 45.5 kB / 0.5542 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6724, allocations: 0 / 0.5542 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6725, allocations: 0 / 0.5542 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.6725, allocations: 0 / 0.5542 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.6729, allocations: 276.6 kB / 0.5545 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.6731, allocations: 38.5 kB / 0.5545 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.6732, allocations: 16.66 kB / 0.5545 GB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.6732, allocations: 4 kB / 0.5545 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.6732, allocations: 30.56 kB / 0.5545 GB, free: 4.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6732, allocations: 0 / 0.5545 GB, free: 4.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004553/0.6737, allocations: 112.9 kB / 0.5546 GB, free: 4.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.6737, allocations: 55.41 kB / 0.5547 GB, free: 4.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6739, allocations: 185.9 kB / 0.5549 GB, free: 4.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.674, allocations: 29.64 kB / 0.5549 GB, free: 4.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.674, allocations: 101.6 kB / 0.555 GB, free: 4.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.6741, allocations: 11.75 kB / 0.555 GB, free: 4.215 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.6741, allocations: 4 kB / 0.555 GB, free: 4.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.6741, allocations: 325 kB / 0.5553 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.6742, allocations: 11.56 kB / 0.5553 GB, free: 3.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.6742, allocations: 10.5 kB / 0.5553 GB, free: 3.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.6742, allocations: 18.39 kB / 0.5554 GB, free: 3.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6743, allocations: 0 / 0.5554 GB, free: 3.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001179/0.6744, allocations: 68.03 kB / 0.5554 GB, free: 3.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6744, allocations: 4 kB / 0.5554 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6744, allocations: 4 kB / 0.5554 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.6745, allocations: 0 / 0.5554 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.6745, allocations: 15.98 kB / 0.5555 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6746, allocations: 0 / 0.5555 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.6746, allocations: 11.44 kB / 0.5555 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.6747, allocations: 0 / 0.5555 GB, free: 3.766 MB / 362.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.908e-05/0.6747, allocations: 108.9 kB / 0.5556 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.6748, allocations: 15.8 kB / 0.5556 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.675, allocations: 80.33 kB / 0.5557 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.675, allocations: 3.938 kB / 0.5557 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.675, allocations: 0 / 0.5557 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.675, allocations: 0 / 0.5557 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.6754, allocations: 330.2 kB / 0.556 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6754, allocations: 0 / 0.556 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.6755, allocations: 16.36 kB / 0.556 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6755, allocations: 0 / 0.556 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6756, allocations: 8 kB / 0.556 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6756, allocations: 3.938 kB / 0.556 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6756, allocations: 0 / 0.556 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.6758, allocations: 169 kB / 0.5562 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.6758, allocations: 95.69 kB / 0.5563 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.6758, allocations: 0 / 0.5563 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.676, allocations: 4 kB / 0.5563 GB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.676, allocations: 7.984 kB / 0.5563 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.676, allocations: 3.938 kB / 0.5563 GB, free: 2.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.6762, allocations: 148 kB / 0.5564 GB, free: 2.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6762, allocations: 0 / 0.5564 GB, free: 2.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.6766, allocations: 20 kB / 0.5564 GB, free: 2.754 MB / 362.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.0009986/0.6776, allocations: 350.2 kB / 0.5568 GB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6777, allocations: 34.3 kB / 0.5568 GB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6777, allocations: 0 / 0.5568 GB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.6778, allocations: 15.75 kB / 0.5568 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.6781, allocations: 19.81 kB / 0.5568 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.6786, allocations: 167.7 kB / 0.557 GB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6788, allocations: 0.7079 MB / 0.5577 GB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.9e-05/0.6789, allocations: 18.94 kB / 0.5577 GB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.6789, allocations: 15.42 kB / 0.5577 GB, free: 1.469 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6789, allocations: 0 / 0.5577 GB, free: 1.469 MB / 362.7 MB Notification: Performance of Templates: time 0.005/0.6839, allocations: 1.101 MB / 0.5588 GB, free: 396 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches