Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002041/0.002041, allocations: 185.8 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001142/0.001142, allocations: 89.3 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4995/0.4995, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006294/0.0006291, allocations: 12 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5777, allocations: 86.64 MB / 0.5633 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.5781, allocations: 78.94 kB / 0.5634 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01798/0.5961, allocations: 4.301 MB / 0.5676 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5962, allocations: 0 / 0.5676 GB, free: 11.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.5962, allocations: 0 / 0.5676 GB, free: 11.62 MB / 394.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.000517/0.5967, allocations: 380.1 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5968, allocations: 16.02 kB / 0.568 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.5968, allocations: 3.906 kB / 0.568 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.5971, allocations: 194.3 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5971, allocations: 0 / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5972, allocations: 7.984 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.5974, allocations: 67.33 kB / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5974, allocations: 0 / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5974, allocations: 4.75 kB / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5974, allocations: 0 / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.5976, allocations: 25.02 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.5981, allocations: 272.9 kB / 0.5685 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.5984, allocations: 50.5 kB / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.5984, allocations: 0 / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5985, allocations: 34.56 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.5985, allocations: 0 / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008474/0.5993, allocations: 156.9 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5994, allocations: 81.09 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.5996, allocations: 130.1 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5996, allocations: 25.7 kB / 0.569 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.5997, allocations: 166.5 kB / 0.5691 GB, free: 9.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.5998, allocations: 19.73 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.5998, allocations: 0 / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5999, allocations: 314.8 kB / 0.5695 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6, allocations: 19.98 kB / 0.5695 GB, free: 9.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.6002, allocations: 40.14 kB / 0.5695 GB, free: 9.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.6003, allocations: 23.98 kB / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6003, allocations: 0 / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003179/0.6007, allocations: 85.61 kB / 0.5696 GB, free: 9.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6007, allocations: 8.031 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6007, allocations: 0 / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6007, allocations: 0 / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6009, allocations: 15.98 kB / 0.5697 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6009, allocations: 0 / 0.5697 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.601, allocations: 8 kB / 0.5697 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.601, allocations: 7.938 kB / 0.5697 GB, free: 9.297 MB / 394.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 () * Number of clocked 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 0.0001196/0.6012, allocations: 117.8 kB / 0.5698 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6012, allocations: 7.906 kB / 0.5698 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.6016, allocations: 93.56 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6016, allocations: 3.5 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6016, allocations: 0 / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6016, allocations: 4 kB / 0.5699 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.6023, allocations: 358.5 kB / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6024, allocations: 0 / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.6025, allocations: 15.94 kB / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6025, allocations: 0 / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6025, allocations: 0 / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6025, allocations: 7.984 kB / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6025, allocations: 4 kB / 0.5703 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.6029, allocations: 183.4 kB / 0.5704 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.603, allocations: 93 kB / 0.5705 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.603, allocations: 4.75 kB / 0.5705 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6031, allocations: 4 kB / 0.5705 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.6032, allocations: 7.984 kB / 0.5705 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6032, allocations: 0 / 0.5705 GB, free: 8.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.6033, allocations: 113.8 kB / 0.5706 GB, free: 8.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6034, allocations: 0 / 0.5706 GB, free: 8.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.6037, allocations: 24 kB / 0.5707 GB, free: 8.176 MB / 394.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 () * Number of clocked 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.001265/0.605, allocations: 462.3 kB / 0.5711 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.6054, allocations: 51.97 kB / 0.5712 GB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6054, allocations: 4 kB / 0.5712 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.6056, allocations: 31.97 kB / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6059, allocations: 19.88 kB / 0.5712 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.6064, allocations: 200.8 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6067, allocations: 0.6887 MB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.6068, allocations: 15.42 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6068, allocations: 0 / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of Templates: time 0.004787/0.6116, allocations: 1.565 MB / 0.5736 GB, free: 5.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches