Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,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.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,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.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002211/0.002216, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 87.42 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3006/0.3006, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.747e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3947, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5617, allocations: 85.74 MB / 0.5496 GB, free: 13.55 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.562, allocations: 75.45 kB / 0.5497 GB, free: 13.48 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01781/0.5798, allocations: 4.125 MB / 0.5537 GB, free: 9.355 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5799, allocations: 0 / 0.5537 GB, free: 9.355 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.5799, allocations: 3.938 kB / 0.5537 GB, free: 9.352 MB / 395.1 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.0005034/0.5804, allocations: 402.2 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5805, allocations: 8.031 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.5806, allocations: 15.81 kB / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.5809, allocations: 210.6 kB / 0.5543 GB, free: 8.645 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.581, allocations: 8 kB / 0.5543 GB, free: 8.637 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.581, allocations: 0 / 0.5543 GB, free: 8.637 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.76e-05/0.5811, allocations: 12 kB / 0.5544 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.5812, allocations: 45.69 kB / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5812, allocations: 0 / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5812, allocations: 0 / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5813, allocations: 0 / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.5818, allocations: 297.3 kB / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.582, allocations: 38.55 kB / 0.5547 GB, free: 8.199 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.5821, allocations: 12.86 kB / 0.5547 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.5821, allocations: 4 kB / 0.5547 GB, free: 8.18 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.5822, allocations: 30.56 kB / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.043e-06/0.5822, allocations: 0 / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005545/0.5827, allocations: 121.2 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.5828, allocations: 59.36 kB / 0.5549 GB, free: 7.945 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.5832, allocations: 229.7 kB / 0.5552 GB, free: 7.715 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5833, allocations: 29.64 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.868e-05/0.5834, allocations: 170.6 kB / 0.5554 GB, free: 7.512 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.5834, allocations: 15.66 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5834, allocations: 0 / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5836, allocations: 314.8 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.5836, allocations: 15.98 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.5837, allocations: 12 kB / 0.5557 GB, free: 7.152 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.5838, allocations: 12.16 kB / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5838, allocations: 0 / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.584, allocations: 65.62 kB / 0.5558 GB, free: 7.07 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.584, allocations: 4 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.584, allocations: 3.984 kB / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.584, allocations: 0 / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5842, allocations: 12 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5842, allocations: 4 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.982e-05/0.5843, allocations: 11.94 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5843, allocations: 4 kB / 0.5558 GB, free: 7.031 MB / 395.1 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 9.427e-05/0.5844, allocations: 104.9 kB / 0.5559 GB, free: 6.922 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.5845, allocations: 11.91 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.5847, allocations: 83.14 kB / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5848, allocations: 4 kB / 0.556 GB, free: 6.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5848, allocations: 4 kB / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5848, allocations: 0 / 0.556 GB, free: 6.816 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.5854, allocations: 351.4 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5854, allocations: 4 kB / 0.5563 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.5855, allocations: 15.98 kB / 0.5564 GB, free: 6.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.5856, allocations: 4 kB / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5856, allocations: 3.938 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5856, allocations: 0 / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5856, allocations: 3.984 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.5858, allocations: 171.4 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.586, allocations: 100.9 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.586, allocations: 0 / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5861, allocations: 8 kB / 0.5566 GB, free: 6.09 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.5862, allocations: 3.984 kB / 0.5566 GB, free: 6.086 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.5862, allocations: 7.938 kB / 0.5566 GB, free: 6.078 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.5865, allocations: 196.3 kB / 0.5568 GB, free: 5.887 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5865, allocations: 0 / 0.5568 GB, free: 5.887 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.5869, allocations: 23.95 kB / 0.5569 GB, free: 5.863 MB / 395.1 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.001094/0.588, allocations: 340.5 kB / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.5882, allocations: 35.98 kB / 0.5572 GB, free: 5.527 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5883, allocations: 4 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.5883, allocations: 16 kB / 0.5572 GB, free: 5.508 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.5887, allocations: 20.03 kB / 0.5573 GB, free: 5.484 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006558/0.5894, allocations: 234.6 kB / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.5898, allocations: 0.7235 MB / 0.5582 GB, free: 4.477 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.5899, allocations: 19.44 kB / 0.5582 GB, free: 4.457 MB / 395.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5899, allocations: 0 / 0.5582 GB, free: 4.457 MB / 395.1 MB Notification: Performance of Templates: time 0.009544/0.5994, allocations: 1.759 MB / 0.5599 GB, free: 2.703 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches