Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002158, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001095/0.001094, allocations: 94.58 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2745/0.2745, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.078e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5924, allocations: 86.51 MB / 0.5573 GB, free: 1.137 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5927, allocations: 76.42 kB / 0.5573 GB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.6098, allocations: 4.255 MB / 0.5615 GB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6098, allocations: 0 / 0.5615 GB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.6098, allocations: 4 kB / 0.5615 GB, free: 13.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004929/0.6103, allocations: 388.8 kB / 0.5619 GB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6104, allocations: 12.03 kB / 0.5619 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.6105, allocations: 15.81 kB / 0.5619 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.6108, allocations: 219.1 kB / 0.5621 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6108, allocations: 6.938 kB / 0.5621 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.6109, allocations: 7.984 kB / 0.5621 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.6111, allocations: 72.62 kB / 0.5622 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6111, allocations: 3.938 kB / 0.5622 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.6111, allocations: 2.562 kB / 0.5622 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.6111, allocations: 4 kB / 0.5622 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.6112, allocations: 29.61 kB / 0.5622 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.6119, allocations: 410.2 kB / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.6122, allocations: 78.05 kB / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.6123, allocations: 27.23 kB / 0.5627 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.6124, allocations: 7.938 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.6124, allocations: 30.56 kB / 0.5628 GB, free: 12.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.6124, allocations: 0 / 0.5628 GB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000778/0.6132, allocations: 200.8 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.6133, allocations: 84.42 kB / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.6136, allocations: 201.4 kB / 0.5632 GB, free: 11.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.6136, allocations: 25.7 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.6137, allocations: 176.6 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.6138, allocations: 30.86 kB / 0.5634 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.6138, allocations: 0 / 0.5634 GB, free: 11.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6139, allocations: 318.3 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.614, allocations: 27.25 kB / 0.5638 GB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.6141, allocations: 36.83 kB / 0.5638 GB, free: 11.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.6142, allocations: 26.17 kB / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6142, allocations: 0 / 0.5638 GB, free: 11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002345/0.6145, allocations: 100.2 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6145, allocations: 8 kB / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6145, allocations: 0 / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6145, allocations: 0 / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.6147, allocations: 27.98 kB / 0.564 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6147, allocations: 4.141 kB / 0.564 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.6148, allocations: 10.66 kB / 0.564 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6149, allocations: 7.938 kB / 0.564 GB, free: 10.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.49e-05/0.615, allocations: 116.2 kB / 0.5641 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.615, allocations: 7.906 kB / 0.5641 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.6154, allocations: 136.5 kB / 0.5642 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6154, allocations: 4 kB / 0.5642 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6154, allocations: 0 / 0.5642 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6155, allocations: 11.88 kB / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.6163, allocations: 0.4977 MB / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6163, allocations: 0 / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.6165, allocations: 23.95 kB / 0.5648 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6165, allocations: 8 kB / 0.5648 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.6165, allocations: 3.953 kB / 0.5648 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.6165, allocations: 7.984 kB / 0.5648 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6165, allocations: 48 / 0.5648 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.6169, allocations: 311.9 kB / 0.5651 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.617, allocations: 92.7 kB / 0.5652 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.617, allocations: 8.234 kB / 0.5652 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.6172, allocations: 7.625 kB / 0.5652 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.6173, allocations: 11.98 kB / 0.5652 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.6173, allocations: 4 kB / 0.5652 GB, free: 9.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.6175, allocations: 173.4 kB / 0.5654 GB, free: 9.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6176, allocations: 0 / 0.5654 GB, free: 9.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.618, allocations: 31.73 kB / 0.5654 GB, free: 9.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001082/0.6191, allocations: 366.4 kB / 0.5657 GB, free: 9.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.6193, allocations: 70.22 kB / 0.5658 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6193, allocations: 3.938 kB / 0.5658 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.6194, allocations: 31.25 kB / 0.5658 GB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.6198, allocations: 25.31 kB / 0.5659 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.6205, allocations: 258.4 kB / 0.5661 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.6208, allocations: 0.7196 MB / 0.5668 GB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.6209, allocations: 15.44 kB / 0.5668 GB, free: 8.016 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6209, allocations: 0 / 0.5668 GB, free: 8.016 MB / 378.7 MB Notification: Performance of Templates: time 0.00534/0.6263, allocations: 1.87 MB / 0.5687 GB, free: 6.156 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches