Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 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.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.000906, allocations: 86.64 kB / 261.7 MB, free: 1.684 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.2174/0.2174, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.225e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.5896, allocations: 88.22 MB / 0.5521 GB, free: 7.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5899, allocations: 67.16 kB / 0.5521 GB, free: 7.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.6088, allocations: 8.533 MB / 0.5605 GB, free: 104 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6089, allocations: 0 / 0.5605 GB, free: 104 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.74e-05/0.6089, allocations: 12 kB / 0.5605 GB, free: 92 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008237/0.6097, allocations: 0.5415 MB / 0.561 GB, free: 15.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6098, allocations: 12.03 kB / 0.561 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.61, allocations: 44.14 kB / 0.5611 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.6106, allocations: 362.1 kB / 0.5614 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6106, allocations: 4 kB / 0.5614 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.6107, allocations: 11.98 kB / 0.5614 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001802/0.6109, allocations: 69.41 kB / 0.5615 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.6111, allocations: 91.03 kB / 0.5616 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6111, allocations: 4 kB / 0.5616 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.6111, allocations: 3.984 kB / 0.5616 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6112, allocations: 7.891 kB / 0.5616 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.612, allocations: 0.5037 MB / 0.5621 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.6122, allocations: 93.92 kB / 0.5622 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.6122, allocations: 33.09 kB / 0.5622 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.6123, allocations: 7.047 kB / 0.5622 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6123, allocations: 42.56 kB / 0.5623 GB, free: 14.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.474e-06/0.6123, allocations: 0 / 0.5623 GB, free: 14.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009568/0.6133, allocations: 356.2 kB / 0.5626 GB, free: 14.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6133, allocations: 51.41 kB / 0.5627 GB, free: 13.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.614, allocations: 477.6 kB / 0.5631 GB, free: 13.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.6141, allocations: 25.7 kB / 0.5631 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6142, allocations: 206.7 kB / 0.5633 GB, free: 13.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.6143, allocations: 58.19 kB / 0.5634 GB, free: 13.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.6143, allocations: 224 / 0.5634 GB, free: 13.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6145, allocations: 355.6 kB / 0.5637 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.6146, allocations: 56.67 kB / 0.5638 GB, free: 12.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.6146, allocations: 61.92 kB / 0.5638 GB, free: 12.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.6147, allocations: 57.22 kB / 0.5639 GB, free: 12.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6147, allocations: 0 / 0.5639 GB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003051/0.6151, allocations: 199.3 kB / 0.5641 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.6151, allocations: 7.984 kB / 0.5641 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6151, allocations: 4 kB / 0.5641 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6151, allocations: 0 / 0.5641 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.6153, allocations: 31.98 kB / 0.5641 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.6153, allocations: 7.938 kB / 0.5641 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.6154, allocations: 7.125 kB / 0.5641 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.6154, allocations: 11.98 kB / 0.5642 GB, free: 12.68 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 (17): * Single equations (assignments): 17 * 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 9.587e-05/0.6155, allocations: 104.9 kB / 0.5643 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.6156, allocations: 39.53 kB / 0.5643 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.6161, allocations: 250.1 kB / 0.5645 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6161, allocations: 4 kB / 0.5645 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.6161, allocations: 0 / 0.5645 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6161, allocations: 3.938 kB / 0.5645 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.617, allocations: 0.6635 MB / 0.5652 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.617, allocations: 3.938 kB / 0.5652 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.6171, allocations: 35.97 kB / 0.5652 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6171, allocations: 4 kB / 0.5652 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6171, allocations: 0 / 0.5652 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6172, allocations: 0 / 0.5652 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6172, allocations: 4 kB / 0.5652 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.6175, allocations: 314.3 kB / 0.5655 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.6177, allocations: 139.5 kB / 0.5657 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.6177, allocations: 3.938 kB / 0.5657 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6178, allocations: 11.98 kB / 0.5657 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.6179, allocations: 11.98 kB / 0.5657 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6179, allocations: 4 kB / 0.5657 GB, free: 11.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.6184, allocations: 388.5 kB / 0.5661 GB, free: 10.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6184, allocations: 0 / 0.5661 GB, free: 10.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.6188, allocations: 71.45 kB / 0.5661 GB, free: 10.89 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 (17): * Single equations (assignments): 17 * 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.001399/0.6202, allocations: 0.5824 MB / 0.5667 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.6204, allocations: 133.9 kB / 0.5668 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6204, allocations: 0 / 0.5668 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.6206, allocations: 79.12 kB / 0.5669 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.621, allocations: 60.09 kB / 0.567 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.622, allocations: 0.5353 MB / 0.5675 GB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.6226, allocations: 0.8309 MB / 0.5683 GB, free: 8.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.6228, allocations: 70 kB / 0.5684 GB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.6229, allocations: 34.55 kB / 0.5684 GB, free: 8.727 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6229, allocations: 0 / 0.5684 GB, free: 8.727 MB / 378.7 MB Notification: Performance of Templates: time 0.008505/0.6314, allocations: 3.441 MB / 0.5718 GB, free: 5.289 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches