Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001504, allocations: 186.6 kB / 16.41 MB, free: 5.727 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.876/1.876, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001107/0.001107, allocations: 101.5 kB / 270.9 MB, free: 8.359 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.4971/0.4971, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006292, allocations: 19.92 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1225, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6107, allocations: 86.34 MB / 0.563 GB, free: 212 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.611, allocations: 75.95 kB / 0.5631 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.6261, allocations: 3.528 MB / 0.5666 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6262, allocations: 0 / 0.5666 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.6262, allocations: 0 / 0.5666 GB, free: 12.64 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.0005016/0.6267, allocations: 383.7 kB / 0.5669 GB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6268, allocations: 23.95 kB / 0.5669 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.6268, allocations: 0 / 0.5669 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.6271, allocations: 198.4 kB / 0.5671 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6271, allocations: 0 / 0.5671 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.6272, allocations: 4 kB / 0.5671 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6273, allocations: 47.61 kB / 0.5672 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.6274, allocations: 4 kB / 0.5672 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6274, allocations: 0 / 0.5672 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6274, allocations: 0 / 0.5672 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.6276, allocations: 32.95 kB / 0.5672 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.628, allocations: 276.8 kB / 0.5675 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.6283, allocations: 42.56 kB / 0.5675 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.6283, allocations: 7.984 kB / 0.5675 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.6283, allocations: 38.5 kB / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.6284, allocations: 0 / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007947/0.6292, allocations: 149.5 kB / 0.5677 GB, free: 11.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.6292, allocations: 55.34 kB / 0.5678 GB, free: 11.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6294, allocations: 133.2 kB / 0.5679 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6294, allocations: 25.7 kB / 0.5679 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.6295, allocations: 158.6 kB / 0.5681 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6296, allocations: 19.7 kB / 0.5681 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.6296, allocations: 0 / 0.5681 GB, free: 10.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6297, allocations: 318.8 kB / 0.5684 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.6299, allocations: 20.17 kB / 0.5684 GB, free: 10.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.63, allocations: 27.92 kB / 0.5684 GB, free: 10.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.6301, allocations: 23.98 kB / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6301, allocations: 0 / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003462/0.6305, allocations: 80.11 kB / 0.5685 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6305, allocations: 8 kB / 0.5685 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6305, allocations: 0 / 0.5685 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6306, allocations: 0 / 0.5685 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.6307, allocations: 23.92 kB / 0.5686 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6307, allocations: 0 / 0.5686 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.6308, allocations: 11.95 kB / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.6308, allocations: 0 / 0.5686 GB, free: 10.38 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.0001181/0.631, allocations: 125.8 kB / 0.5687 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.631, allocations: 3.906 kB / 0.5687 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.6314, allocations: 97.97 kB / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6314, allocations: 0 / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6314, allocations: 0 / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6314, allocations: 0 / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.6321, allocations: 366 kB / 0.5691 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6321, allocations: 3.938 kB / 0.5691 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6322, allocations: 15.98 kB / 0.5692 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6322, allocations: 0 / 0.5692 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.6323, allocations: 0 / 0.5692 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6323, allocations: 4 kB / 0.5692 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6323, allocations: 3.953 kB / 0.5692 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.6327, allocations: 191.4 kB / 0.5694 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.6327, allocations: 85.02 kB / 0.5694 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.6328, allocations: 0 / 0.5694 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6329, allocations: 11.98 kB / 0.5694 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.6329, allocations: 8 kB / 0.5695 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.633, allocations: 7.953 kB / 0.5695 GB, free: 9.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.6331, allocations: 109.5 kB / 0.5696 GB, free: 9.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6331, allocations: 0 / 0.5696 GB, free: 9.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.6334, allocations: 20 kB / 0.5696 GB, free: 9.246 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.001195/0.6346, allocations: 414.4 kB / 0.57 GB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.635, allocations: 55.91 kB / 0.57 GB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.635, allocations: 4 kB / 0.57 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.6352, allocations: 23.98 kB / 0.5701 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.6355, allocations: 15.98 kB / 0.5701 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.636, allocations: 196.9 kB / 0.5703 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.6364, allocations: 0.7004 MB / 0.5709 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.6364, allocations: 15.42 kB / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6364, allocations: 0 / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of Templates: time 0.004252/0.6407, allocations: 1.37 MB / 0.5723 GB, free: 6.512 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches