Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00229/0.00229, allocations: 181.3 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.123/2.123, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001233/0.001233, allocations: 102.5 kB / 267.5 MB, free: 14.11 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.2808/0.2808, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.027e-05/4.037e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.6144, allocations: 86.33 MB / 0.5571 GB, free: 1.293 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6147, allocations: 76.36 kB / 0.5572 GB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.6321, allocations: 4.214 MB / 0.5613 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6321, allocations: 0 / 0.5613 GB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.6322, allocations: 4 kB / 0.5613 GB, free: 13.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005004/0.6327, allocations: 392.9 kB / 0.5617 GB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.6327, allocations: 8.031 kB / 0.5617 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.6328, allocations: 15.81 kB / 0.5617 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.6331, allocations: 205.4 kB / 0.5619 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.6332, allocations: 7.125 kB / 0.5619 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.6332, allocations: 0 / 0.5619 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6334, allocations: 62.12 kB / 0.562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.6334, allocations: 0 / 0.562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6334, allocations: 3.984 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.6335, allocations: 7.938 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.6336, allocations: 21.69 kB / 0.562 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.6341, allocations: 306.4 kB / 0.5623 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6342, allocations: 53 kB / 0.5623 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.6343, allocations: 18.42 kB / 0.5624 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6343, allocations: 0 / 0.5624 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.6344, allocations: 34.56 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.6344, allocations: 4 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006474/0.635, allocations: 148 kB / 0.5625 GB, free: 12.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.6351, allocations: 51.41 kB / 0.5626 GB, free: 12.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.6354, allocations: 205.8 kB / 0.5628 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6355, allocations: 25.7 kB / 0.5628 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.6356, allocations: 176.2 kB / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.6356, allocations: 26.52 kB / 0.563 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.6357, allocations: 0 / 0.563 GB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6358, allocations: 313.9 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.6359, allocations: 11.19 kB / 0.5633 GB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.6359, allocations: 17.81 kB / 0.5633 GB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.636, allocations: 17.92 kB / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.636, allocations: 0 / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001885/0.6362, allocations: 81.58 kB / 0.5634 GB, free: 11.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6362, allocations: 12 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6362, allocations: 0 / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6363, allocations: 0 / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6365, allocations: 19.98 kB / 0.5634 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6365, allocations: 3.953 kB / 0.5634 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.6366, allocations: 8.172 kB / 0.5635 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.6366, allocations: 15.92 kB / 0.5635 GB, free: 11.37 MB / 378.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 (8): * Single equations (assignments): 8 * 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 7.532e-05/0.6367, allocations: 101 kB / 0.5636 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.6368, allocations: 15.91 kB / 0.5636 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.6371, allocations: 108 kB / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6371, allocations: 0 / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6371, allocations: 3.938 kB / 0.5637 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6371, allocations: 3.953 kB / 0.5637 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.6378, allocations: 393.2 kB / 0.5641 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6378, allocations: 0 / 0.5641 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.638, allocations: 26.67 kB / 0.5641 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.638, allocations: 0 / 0.5641 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.638, allocations: 7.953 kB / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.638, allocations: 0 / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.638, allocations: 0 / 0.5641 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.6383, allocations: 176.1 kB / 0.5643 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6384, allocations: 104.8 kB / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.6385, allocations: 7.562 kB / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6386, allocations: 7.953 kB / 0.5644 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.6387, allocations: 7.984 kB / 0.5644 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6387, allocations: 4 kB / 0.5644 GB, free: 10.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.6389, allocations: 173.4 kB / 0.5646 GB, free: 10.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.639, allocations: 0 / 0.5646 GB, free: 10.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.6393, allocations: 24 kB / 0.5646 GB, free: 10.23 MB / 378.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 (8): * Single equations (assignments): 8 * 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.001159/0.6405, allocations: 373.2 kB / 0.5649 GB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.6407, allocations: 50.81 kB / 0.565 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6407, allocations: 0 / 0.565 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.6408, allocations: 23.44 kB / 0.565 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.6411, allocations: 21.98 kB / 0.565 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.6417, allocations: 217 kB / 0.5652 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6421, allocations: 0.7175 MB / 0.5659 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.6422, allocations: 19.42 kB / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6422, allocations: 0 / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of Templates: time 0.005278/0.6475, allocations: 1.77 MB / 0.5677 GB, free: 7.109 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches