Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.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_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.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_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 112.6 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002762/0.002762, allocations: 194.4 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.515/3.515, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4922/0.4922, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 73.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2308, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.006097/0.237, allocations: 1.555 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2384, allocations: 327.5 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.2386, allocations: 0 / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.239, allocations: 27.86 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.2394, allocations: 39.77 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.24, allocations: 91.77 kB / 0.4905 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.2404, allocations: 63.81 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2405, allocations: 11.98 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.2406, allocations: 23.86 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.2408, allocations: 15.94 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2408, allocations: 0 / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.241, allocations: 39.97 kB / 0.4907 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.2411, allocations: 11.92 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.2411, allocations: 19.88 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2414, allocations: 67.8 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2415, allocations: 3.938 kB / 0.4908 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.2415, allocations: 4 kB / 0.4908 GB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.2415, allocations: 7.938 kB / 0.4908 GB, free: 9.484 MB / 382.1 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.0007434/0.2423, allocations: 371.2 kB / 0.4911 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.2423, allocations: 15.89 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.2424, allocations: 8.844 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2427, allocations: 180.3 kB / 0.4913 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2428, allocations: 4.375 kB / 0.4913 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.2428, allocations: 384 / 0.4913 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.2433, allocations: 53.8 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2433, allocations: 4 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2433, allocations: 0 / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.2434, allocations: 3.984 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.2436, allocations: 27.92 kB / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.2443, allocations: 280.8 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.2446, allocations: 50.55 kB / 0.4917 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.2448, allocations: 16.86 kB / 0.4918 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.2448, allocations: 4.031 kB / 0.4918 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.2449, allocations: 42.55 kB / 0.4918 GB, free: 8.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.756e-06/0.2449, allocations: 0 / 0.4918 GB, free: 8.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001007/0.2459, allocations: 137.4 kB / 0.4919 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.246, allocations: 55.41 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2462, allocations: 142.1 kB / 0.4921 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2463, allocations: 29.7 kB / 0.4921 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.2464, allocations: 88.14 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2464, allocations: 27.59 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2465, allocations: 21.7 kB / 0.4923 GB, free: 7.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2466, allocations: 314.8 kB / 0.4926 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2468, allocations: 23.98 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2469, allocations: 23.97 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.2471, allocations: 52.83 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2471, allocations: 0 / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002694/0.2474, allocations: 85.55 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2474, allocations: 8 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2474, allocations: 3.984 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2475, allocations: 4 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.2476, allocations: 8 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2476, allocations: 0 / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.2477, allocations: 7.984 kB / 0.4928 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2477, allocations: 4 kB / 0.4928 GB, free: 7.199 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.2478, allocations: 121.7 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.2479, allocations: 11.91 kB / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.2482, allocations: 101.9 kB / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2482, allocations: 0 / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2482, allocations: 320 / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2483, allocations: 4 kB / 0.493 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.2489, allocations: 354.4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.2489, allocations: 4 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.249, allocations: 8 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.249, allocations: 0 / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2491, allocations: 8 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.2491, allocations: 7.875 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2491, allocations: 4 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.2494, allocations: 171.5 kB / 0.4935 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.2495, allocations: 85.02 kB / 0.4936 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2495, allocations: 3.984 kB / 0.4936 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2497, allocations: 11.94 kB / 0.4936 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.2497, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2498, allocations: 0 / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2499, allocations: 111.2 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.065e-06/0.2499, allocations: 4 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.2503, allocations: 15.94 kB / 0.4938 GB, free: 6.078 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/0.2519, allocations: 406.2 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.2523, allocations: 55.89 kB / 0.4942 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2523, allocations: 4 kB / 0.4942 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2525, allocations: 23.98 kB / 0.4942 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.2531, allocations: 23.83 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.2538, allocations: 207 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.2544, allocations: 0.7002 MB / 0.4951 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.2545, allocations: 11.44 kB / 0.4952 GB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2545, allocations: 0 / 0.4952 GB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.005613/0.2601, allocations: 1.403 MB / 0.4965 GB, free: 3.238 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches