Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001447, allocations: 179.2 kB / 8.363 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.025/2.025, 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.001077/0.001077, allocations: 93.92 kB / 262.1 MB, free: 13.86 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.2966/0.2966, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.055e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.554, allocations: 85.63 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5543, allocations: 75.94 kB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.5705, allocations: 3.804 MB / 0.5533 GB, free: 9.809 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5706, allocations: 0 / 0.5533 GB, free: 9.809 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.5706, allocations: 3.938 kB / 0.5533 GB, free: 9.805 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.0004817/0.5711, allocations: 378.3 kB / 0.5537 GB, free: 9.391 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5712, allocations: 8.031 kB / 0.5537 GB, free: 9.383 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.5712, allocations: 7.906 kB / 0.5537 GB, free: 9.375 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.5716, allocations: 214.6 kB / 0.5539 GB, free: 9.125 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.5716, allocations: 0 / 0.5539 GB, free: 9.125 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5716, allocations: 4 kB / 0.5539 GB, free: 9.121 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.486e-05/0.5717, allocations: 15.98 kB / 0.5539 GB, free: 9.105 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.5718, allocations: 29.7 kB / 0.5539 GB, free: 9.07 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.5718, allocations: 0 / 0.5539 GB, free: 9.07 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5719, allocations: 4 kB / 0.5539 GB, free: 9.066 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5719, allocations: 0 / 0.5539 GB, free: 9.066 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.5723, allocations: 265.4 kB / 0.5542 GB, free: 8.77 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.5725, allocations: 46.48 kB / 0.5542 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.5726, allocations: 8.859 kB / 0.5543 GB, free: 8.703 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5726, allocations: 0 / 0.5543 GB, free: 8.703 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5727, allocations: 34.56 kB / 0.5543 GB, free: 8.66 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.5727, allocations: 0 / 0.5543 GB, free: 8.66 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004805/0.5732, allocations: 105.4 kB / 0.5544 GB, free: 8.551 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5732, allocations: 55.34 kB / 0.5544 GB, free: 8.484 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.5735, allocations: 165.4 kB / 0.5546 GB, free: 8.316 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5735, allocations: 29.64 kB / 0.5546 GB, free: 8.281 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.5736, allocations: 166.6 kB / 0.5548 GB, free: 8.117 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.5737, allocations: 15.72 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.5737, allocations: 0 / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5738, allocations: 318.8 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.5739, allocations: 12 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.5739, allocations: 12.06 kB / 0.5551 GB, free: 7.758 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.574, allocations: 8.156 kB / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.574, allocations: 0 / 0.5551 GB, free: 7.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001367/0.5741, allocations: 53.69 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5742, allocations: 8 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5742, allocations: 3.938 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5742, allocations: 4 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5743, allocations: 15.98 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5744, allocations: 0 / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.5744, allocations: 4 kB / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5745, allocations: 4 kB / 0.5552 GB, free: 7.652 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 8.303e-05/0.5746, allocations: 104.9 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.5746, allocations: 7.906 kB / 0.5553 GB, free: 7.535 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5748, allocations: 78.06 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5748, allocations: 0 / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5749, allocations: 0 / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5749, allocations: 4 kB / 0.5554 GB, free: 7.445 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.5754, allocations: 319 kB / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5754, allocations: 0 / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5755, allocations: 12 kB / 0.5557 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5755, allocations: 0 / 0.5557 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.5755, allocations: 4 kB / 0.5557 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.5755, allocations: 3.984 kB / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5756, allocations: 0 / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5758, allocations: 163.7 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5759, allocations: 100.9 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5759, allocations: 0 / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.576, allocations: 7.984 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.5761, allocations: 8 kB / 0.556 GB, free: 6.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5761, allocations: 3.938 kB / 0.556 GB, free: 6.758 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.5763, allocations: 143.9 kB / 0.5561 GB, free: 6.617 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5763, allocations: 0 / 0.5561 GB, free: 6.617 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.5767, allocations: 23.94 kB / 0.5562 GB, free: 6.594 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.0009989/0.5777, allocations: 336.5 kB / 0.5565 GB, free: 6.297 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5778, allocations: 27.94 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5779, allocations: 0 / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.5779, allocations: 12.12 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.5782, allocations: 24.67 kB / 0.5565 GB, free: 6.234 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.5787, allocations: 169.8 kB / 0.5567 GB, free: 6.039 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5791, allocations: 0.708 MB / 0.5574 GB, free: 5.305 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.5792, allocations: 11.44 kB / 0.5574 GB, free: 5.293 MB / 395.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5792, allocations: 0 / 0.5574 GB, free: 5.293 MB / 395.1 MB Notification: Performance of Templates: time 0.004648/0.5838, allocations: 1.519 MB / 0.5589 GB, free: 3.781 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches