Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 182.4 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.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001033/0.001033, allocations: 90.64 kB / 267.5 MB, free: 14.12 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.2842/0.2842, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.444e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.6721, allocations: 86.54 MB / 0.5573 GB, free: 1.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.6724, allocations: 70.47 kB / 0.5574 GB, free: 1.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.6891, allocations: 4.121 MB / 0.5614 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6891, allocations: 0 / 0.5614 GB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.6891, allocations: 0 / 0.5614 GB, free: 13.8 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.0005043/0.6896, allocations: 366 kB / 0.5618 GB, free: 13.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6897, allocations: 8.031 kB / 0.5618 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.6898, allocations: 7.906 kB / 0.5618 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.6901, allocations: 194.4 kB / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.6901, allocations: 7.375 kB / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.6901, allocations: 0 / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6903, allocations: 58.17 kB / 0.562 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6903, allocations: 0 / 0.562 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6903, allocations: 0 / 0.562 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.6904, allocations: 3.984 kB / 0.562 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.6904, allocations: 11.56 kB / 0.562 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.6909, allocations: 282.4 kB / 0.5623 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.6912, allocations: 33.83 kB / 0.5623 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.6912, allocations: 16.42 kB / 0.5623 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.6912, allocations: 4 kB / 0.5624 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6913, allocations: 30.56 kB / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.6913, allocations: 0 / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004976/0.6918, allocations: 112.1 kB / 0.5625 GB, free: 12.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.6919, allocations: 84.5 kB / 0.5626 GB, free: 12.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.6921, allocations: 128.4 kB / 0.5627 GB, free: 12.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.6921, allocations: 25.7 kB / 0.5627 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.6922, allocations: 161.9 kB / 0.5629 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.6922, allocations: 15.44 kB / 0.5629 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.6922, allocations: 0 / 0.5629 GB, free: 12.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6924, allocations: 322.8 kB / 0.5632 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.6924, allocations: 7.438 kB / 0.5632 GB, free: 11.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.6925, allocations: 21.22 kB / 0.5632 GB, free: 11.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.6925, allocations: 11.5 kB / 0.5632 GB, free: 11.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6925, allocations: 3.938 kB / 0.5632 GB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/0.6927, allocations: 64.25 kB / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6927, allocations: 8 kB / 0.5633 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6927, allocations: 0 / 0.5633 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6928, allocations: 4.031 kB / 0.5633 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.6929, allocations: 15.98 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6929, allocations: 0 / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.693, allocations: 7.953 kB / 0.5633 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.693, allocations: 4 kB / 0.5633 GB, free: 11.69 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.378e-05/0.6931, allocations: 104.4 kB / 0.5634 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.6932, allocations: 7.906 kB / 0.5634 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.6934, allocations: 76.33 kB / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6934, allocations: 0 / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6935, allocations: 0 / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6935, allocations: 0 / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.6939, allocations: 329 kB / 0.5638 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6939, allocations: 4 kB / 0.5638 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.6941, allocations: 15.92 kB / 0.5638 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.6941, allocations: 4 kB / 0.5638 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6941, allocations: 4 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6941, allocations: 0 / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6941, allocations: 3.953 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.6943, allocations: 149.7 kB / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.6944, allocations: 92.44 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.6944, allocations: 0 / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6945, allocations: 12 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.6946, allocations: 7.984 kB / 0.5641 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6946, allocations: 11.45 kB / 0.5641 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.6947, allocations: 98.03 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6948, allocations: 4 kB / 0.5642 GB, free: 10.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.6951, allocations: 27.28 kB / 0.5642 GB, free: 10.72 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.001172/0.6963, allocations: 408.4 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.6965, allocations: 26.56 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6965, allocations: 0 / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.6965, allocations: 23.25 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.6968, allocations: 21.78 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.6972, allocations: 129 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.6975, allocations: 0.6965 MB / 0.5655 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.6976, allocations: 11.44 kB / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6976, allocations: 0 / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004747/0.7024, allocations: 1.562 MB / 0.567 GB, free: 7.887 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches