Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002233, allocations: 181.7 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.21 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.001108/0.001107, allocations: 86.7 kB / 267.5 MB, free: 14.04 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.2931/0.2931, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.274e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5896, allocations: 86.4 MB / 0.5572 GB, free: 1.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5899, allocations: 74.86 kB / 0.5572 GB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.6057, allocations: 3.94 MB / 0.5611 GB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6058, allocations: 0 / 0.5611 GB, free: 13.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.6058, allocations: 0 / 0.5611 GB, free: 13.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004654/0.6063, allocations: 390 kB / 0.5615 GB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6063, allocations: 12.03 kB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.6064, allocations: 7.906 kB / 0.5615 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.6067, allocations: 204.2 kB / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.6068, allocations: 7.875 kB / 0.5617 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6068, allocations: 4 kB / 0.5617 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6069, allocations: 41.66 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6069, allocations: 0 / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.607, allocations: 3.938 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.607, allocations: 0 / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.6071, allocations: 15.81 kB / 0.5617 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.6076, allocations: 299.8 kB / 0.562 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.6078, allocations: 42.38 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.6079, allocations: 12.8 kB / 0.5621 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.6079, allocations: 0 / 0.5621 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.608, allocations: 38.31 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.608, allocations: 4 kB / 0.5621 GB, free: 12.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.6085, allocations: 120.4 kB / 0.5622 GB, free: 12.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6086, allocations: 55.36 kB / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.6088, allocations: 188.2 kB / 0.5625 GB, free: 12.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.6089, allocations: 25.7 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.609, allocations: 170 kB / 0.5627 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.609, allocations: 11.75 kB / 0.5627 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.609, allocations: 0 / 0.5627 GB, free: 12.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6091, allocations: 322.7 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.6092, allocations: 11.88 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.6092, allocations: 11.69 kB / 0.563 GB, free: 11.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.6093, allocations: 15.92 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6093, allocations: 0 / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001425/0.6095, allocations: 57.38 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.6095, allocations: 8 kB / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.6095, allocations: 0 / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6095, allocations: 3.938 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6097, allocations: 23.94 kB / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6097, allocations: 0 / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.6098, allocations: 8.203 kB / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.6098, allocations: 4 kB / 0.5631 GB, free: 11.61 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 (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 7.314e-05/0.6099, allocations: 102.5 kB / 0.5632 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.61, allocations: 15.8 kB / 0.5632 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.6102, allocations: 85.14 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6102, allocations: 4 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6102, allocations: 3.984 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6102, allocations: 3.938 kB / 0.5633 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.6108, allocations: 355 kB / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6108, allocations: 0 / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.6109, allocations: 15.98 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6109, allocations: 3.938 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.611, allocations: 0 / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.611, allocations: 4 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.611, allocations: 3.953 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.6112, allocations: 169.3 kB / 0.5638 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.6113, allocations: 93 kB / 0.5639 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.6113, allocations: 3.875 kB / 0.5639 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6115, allocations: 4 kB / 0.5639 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.6115, allocations: 7.984 kB / 0.5639 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6115, allocations: 7.953 kB / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.6117, allocations: 153.9 kB / 0.5641 GB, free: 10.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6118, allocations: 0 / 0.5641 GB, free: 10.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.6121, allocations: 16 kB / 0.5641 GB, free: 10.56 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 (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.001045/0.6131, allocations: 371 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.6133, allocations: 38.3 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6133, allocations: 0 / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.6134, allocations: 19.62 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.6137, allocations: 18.36 kB / 0.5645 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.6142, allocations: 194 kB / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6145, allocations: 0.7156 MB / 0.5654 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.6146, allocations: 15.38 kB / 0.5654 GB, free: 9.246 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6146, allocations: 0 / 0.5654 GB, free: 9.246 MB / 378.7 MB Notification: Performance of Templates: time 0.00453/0.6192, allocations: 1.576 MB / 0.567 GB, free: 7.676 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches