Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 186.2 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.909/1.909, 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.001113/0.001113, allocations: 101.2 kB / 270.9 MB, free: 8.363 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.4977/0.4977, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 15.98 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5733, allocations: 86.74 MB / 0.5634 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.5736, allocations: 71.97 kB / 0.5635 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.5909, allocations: 4.314 MB / 0.5677 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5909, allocations: 0 / 0.5677 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.591, allocations: 0 / 0.5677 GB, free: 11.63 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.0004752/0.5915, allocations: 387.8 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5915, allocations: 12.02 kB / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.5916, allocations: 7.906 kB / 0.5681 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.5918, allocations: 190.3 kB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.5918, allocations: 4 kB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.5919, allocations: 4 kB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5921, allocations: 67.33 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5921, allocations: 3.656 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5921, allocations: 0 / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5922, allocations: 4 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.5923, allocations: 29.02 kB / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.5928, allocations: 276.9 kB / 0.5687 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.5931, allocations: 50.48 kB / 0.5687 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5931, allocations: 8 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5932, allocations: 30.56 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.5932, allocations: 0 / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008404/0.594, allocations: 165.9 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5941, allocations: 81.11 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.5943, allocations: 126.1 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5943, allocations: 29.64 kB / 0.5691 GB, free: 9.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.5944, allocations: 158.6 kB / 0.5693 GB, free: 9.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5944, allocations: 23.72 kB / 0.5693 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.5945, allocations: 0 / 0.5693 GB, free: 9.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5946, allocations: 318.8 kB / 0.5696 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5947, allocations: 19.98 kB / 0.5696 GB, free: 9.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5949, allocations: 46.25 kB / 0.5697 GB, free: 9.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.595, allocations: 28.02 kB / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5951, allocations: 0 / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003243/0.5954, allocations: 90.61 kB / 0.5698 GB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5954, allocations: 4 kB / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5954, allocations: 3.984 kB / 0.5698 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5955, allocations: 0 / 0.5698 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5956, allocations: 19.98 kB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5956, allocations: 0 / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.5957, allocations: 15.92 kB / 0.5698 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5957, allocations: 3.953 kB / 0.5698 GB, free: 9.258 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.0001025/0.5958, allocations: 113.8 kB / 0.5699 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.5959, allocations: 7.906 kB / 0.5699 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.5963, allocations: 105.6 kB / 0.57 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5963, allocations: 3.984 kB / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5963, allocations: 0 / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5963, allocations: 0 / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.597, allocations: 362.5 kB / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.597, allocations: 0 / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.5971, allocations: 19.94 kB / 0.5704 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5971, allocations: 3.984 kB / 0.5704 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.5971, allocations: 0.75 kB / 0.5704 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5972, allocations: 4.703 kB / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5972, allocations: 0 / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.5975, allocations: 195.4 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.5976, allocations: 89.02 kB / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.5977, allocations: 0 / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.5978, allocations: 11.98 kB / 0.5707 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.5978, allocations: 4 kB / 0.5707 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.5978, allocations: 7.875 kB / 0.5707 GB, free: 8.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.598, allocations: 110.5 kB / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.598, allocations: 0 / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.5984, allocations: 27.98 kB / 0.5709 GB, free: 8.109 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.00127/0.5996, allocations: 463 kB / 0.5713 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.6, allocations: 55.97 kB / 0.5713 GB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6, allocations: 0 / 0.5713 GB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.6002, allocations: 39.91 kB / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6005, allocations: 12 kB / 0.5714 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.601, allocations: 200.8 kB / 0.5716 GB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.6013, allocations: 0.6965 MB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.6013, allocations: 15.42 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6014, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of Templates: time 0.004667/0.606, allocations: 1.599 MB / 0.5738 GB, free: 5.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches