Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001541, allocations: 185.9 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.894/1.894, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001158/0.001158, allocations: 92.42 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.5152/0.5152, allocations: 43.54 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004643, allocations: 23.92 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5751, allocations: 86.42 MB / 0.5631 GB, free: 156 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5755, allocations: 75.95 kB / 0.5632 GB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.5925, allocations: 3.92 MB / 0.567 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5925, allocations: 0 / 0.567 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.5926, allocations: 0.5469 kB / 0.567 GB, free: 12.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005398/0.5931, allocations: 394.5 kB / 0.5674 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5932, allocations: 12.56 kB / 0.5674 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.5932, allocations: 11.28 kB / 0.5674 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.5935, allocations: 198.3 kB / 0.5676 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5935, allocations: 4 kB / 0.5676 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.5936, allocations: 4 kB / 0.5676 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.5938, allocations: 65.66 kB / 0.5677 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5938, allocations: 1.125 kB / 0.5677 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5938, allocations: 3.938 kB / 0.5677 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5939, allocations: 0 / 0.5677 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.5941, allocations: 40.94 kB / 0.5677 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.5946, allocations: 296.8 kB / 0.568 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.5947, allocations: 50.56 kB / 0.5681 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.5948, allocations: 4.062 kB / 0.5681 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5948, allocations: 38.48 kB / 0.5681 GB, free: 10.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.5948, allocations: 0 / 0.5681 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009805/0.5958, allocations: 190.2 kB / 0.5683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5959, allocations: 55.36 kB / 0.5683 GB, free: 10.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.5961, allocations: 146.7 kB / 0.5685 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.5962, allocations: 32.59 kB / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.5963, allocations: 158.5 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.5963, allocations: 23.62 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.5963, allocations: 4 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5965, allocations: 314.8 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.5966, allocations: 31.98 kB / 0.569 GB, free: 9.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.5968, allocations: 23.98 kB / 0.569 GB, free: 9.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5969, allocations: 36.2 kB / 0.5691 GB, free: 9.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.597, allocations: 0 / 0.5691 GB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003631/0.5973, allocations: 101.7 kB / 0.5692 GB, free: 9.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5974, allocations: 5.25 kB / 0.5692 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5974, allocations: 3.938 kB / 0.5692 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5974, allocations: 7.984 kB / 0.5692 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.5976, allocations: 16 kB / 0.5692 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5976, allocations: 3.953 kB / 0.5692 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.5977, allocations: 15.92 kB / 0.5692 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5977, allocations: 8 kB / 0.5692 GB, free: 9.75 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 (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 0.0001224/0.5979, allocations: 117.8 kB / 0.5693 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.5979, allocations: 7.906 kB / 0.5693 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.5984, allocations: 126.2 kB / 0.5695 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5984, allocations: 4 kB / 0.5695 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5984, allocations: 0 / 0.5695 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5984, allocations: 3.953 kB / 0.5695 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.5992, allocations: 391.4 kB / 0.5698 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5992, allocations: 3.938 kB / 0.5698 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.5994, allocations: 27.92 kB / 0.5699 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.5994, allocations: 0 / 0.5699 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5994, allocations: 4 kB / 0.5699 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5994, allocations: 3.953 kB / 0.5699 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5994, allocations: 4.375 kB / 0.5699 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.5999, allocations: 203.6 kB / 0.5701 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.6, allocations: 86.05 kB / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.6, allocations: 4 kB / 0.5702 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6001, allocations: 15.98 kB / 0.5702 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.6002, allocations: 3.953 kB / 0.5702 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.6002, allocations: 4 kB / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.6003, allocations: 118.2 kB / 0.5703 GB, free: 8.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6004, allocations: 4 kB / 0.5703 GB, free: 8.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.6007, allocations: 27.98 kB / 0.5703 GB, free: 8.512 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 (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.001182/0.6019, allocations: 418.6 kB / 0.5707 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.6023, allocations: 67.95 kB / 0.5708 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6023, allocations: 4 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.6025, allocations: 43.92 kB / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6028, allocations: 7.984 kB / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.6034, allocations: 245.1 kB / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6038, allocations: 0.7004 MB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.6038, allocations: 15.44 kB / 0.5718 GB, free: 7.066 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6038, allocations: 0 / 0.5718 GB, free: 7.066 MB / 394.7 MB Notification: Performance of Templates: time 0.004755/0.6086, allocations: 1.55 MB / 0.5733 GB, free: 5.516 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches