Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00206/0.00206, allocations: 178.4 kB / 8.362 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.002/2.002, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00113/0.001129, allocations: 88.03 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.2985/0.2985, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.181e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4655, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.6259, allocations: 85.99 MB / 0.5499 GB, free: 13.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.6263, allocations: 67.97 kB / 0.5499 GB, free: 13.24 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.6437, allocations: 4.004 MB / 0.5538 GB, free: 9.242 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6437, allocations: 0 / 0.5538 GB, free: 9.242 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.6438, allocations: 8 kB / 0.5539 GB, free: 9.234 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.0004835/0.6443, allocations: 366.3 kB / 0.5542 GB, free: 8.832 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6443, allocations: 12.02 kB / 0.5542 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.6444, allocations: 11.91 kB / 0.5542 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.6447, allocations: 182.9 kB / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6447, allocations: 0 / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.6447, allocations: 4 kB / 0.5544 GB, free: 8.586 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.791e-05/0.6448, allocations: 15.98 kB / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.645, allocations: 59.34 kB / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.645, allocations: 0 / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.645, allocations: 0 / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.645, allocations: 0 / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.6455, allocations: 257.4 kB / 0.5547 GB, free: 8.211 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.6458, allocations: 50.55 kB / 0.5548 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.6458, allocations: 8.859 kB / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.6459, allocations: 3.938 kB / 0.5548 GB, free: 8.137 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.6459, allocations: 34.5 kB / 0.5548 GB, free: 8.094 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.6459, allocations: 0 / 0.5548 GB, free: 8.094 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005279/0.6465, allocations: 109.5 kB / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.6465, allocations: 85.11 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.6467, allocations: 117 kB / 0.5551 GB, free: 7.758 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.6467, allocations: 25.7 kB / 0.5551 GB, free: 7.727 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.6468, allocations: 166.5 kB / 0.5553 GB, free: 7.562 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.6469, allocations: 11.75 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.6469, allocations: 0 / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.647, allocations: 323 kB / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.6471, allocations: 11.94 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.6471, allocations: 29.72 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.6472, allocations: 15.98 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6472, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/0.6474, allocations: 57.69 kB / 0.5557 GB, free: 7.102 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6474, allocations: 4 kB / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6474, allocations: 0 / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6475, allocations: 4 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6476, allocations: 11.98 kB / 0.5557 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6476, allocations: 8.031 kB / 0.5558 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/0.6477, allocations: 4 kB / 0.5558 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.6477, allocations: 0 / 0.5558 GB, free: 7.07 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.36e-05/0.6478, allocations: 112.9 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.6479, allocations: 3.906 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.6481, allocations: 74.08 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6481, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6481, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.6482, allocations: 7.984 kB / 0.5559 GB, free: 6.863 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.6486, allocations: 318.9 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6487, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.6488, allocations: 15.98 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6488, allocations: 0 / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6488, allocations: 4.375 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6488, allocations: 0 / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6488, allocations: 4 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.6491, allocations: 163.5 kB / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.6491, allocations: 93 kB / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.6492, allocations: 0 / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6493, allocations: 4 kB / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.6494, allocations: 7.984 kB / 0.5565 GB, free: 6.188 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6494, allocations: 0 / 0.5565 GB, free: 6.188 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.6495, allocations: 107.2 kB / 0.5566 GB, free: 6.082 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6495, allocations: 11.88 kB / 0.5566 GB, free: 6.07 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.6499, allocations: 27.98 kB / 0.5567 GB, free: 6.043 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.001121/0.6511, allocations: 372.7 kB / 0.557 GB, free: 5.719 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.6513, allocations: 28 kB / 0.5571 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6513, allocations: 0 / 0.5571 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.6513, allocations: 23.92 kB / 0.5571 GB, free: 5.668 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.6517, allocations: 19.61 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.6521, allocations: 125.7 kB / 0.5572 GB, free: 5.496 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6524, allocations: 0.6963 MB / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/0.6525, allocations: 19.42 kB / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6525, allocations: 0 / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of Templates: time 0.005163/0.6577, allocations: 1.613 MB / 0.5595 GB, free: 3.145 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches