Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008302/0.0008303, allocations: 178.8 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008308/0.0008307, allocations: 91.67 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2636/0.2636, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 16 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2504, allocations: 61.87 MB / 0.5107 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08873/0.3392, allocations: 88.25 MB / 0.5969 GB, free: 6.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3394, allocations: 79.94 kB / 0.597 GB, free: 6.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.3496, allocations: 4.47 MB / 0.6013 GB, free: 2.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3496, allocations: 0 / 0.6013 GB, free: 2.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3497, allocations: 0 / 0.6013 GB, free: 2.258 MB / 410.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.0003315/0.35, allocations: 383.2 kB / 0.6017 GB, free: 1.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.35, allocations: 12.03 kB / 0.6017 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.3501, allocations: 4.844 kB / 0.6017 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3502, allocations: 192.2 kB / 0.6019 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.3503, allocations: 8.375 kB / 0.6019 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3503, allocations: 384 / 0.6019 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3504, allocations: 67.95 kB / 0.602 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3504, allocations: 4.125 kB / 0.602 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3505, allocations: 11.88 kB / 0.602 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.3505, allocations: 3.938 kB / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.3506, allocations: 27.98 kB / 0.602 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.3509, allocations: 268.9 kB / 0.6023 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.351, allocations: 50.44 kB / 0.6023 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.3511, allocations: 16.86 kB / 0.6024 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3511, allocations: 8.078 kB / 0.6024 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3512, allocations: 34.56 kB / 0.6024 GB, free: 1.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3512, allocations: 0 / 0.6024 GB, free: 1.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004793/0.3516, allocations: 149.4 kB / 0.6025 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3517, allocations: 77.11 kB / 0.6026 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3518, allocations: 141 kB / 0.6027 GB, free: 0.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3518, allocations: 25.7 kB / 0.6028 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.3519, allocations: 92.14 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3519, allocations: 19.66 kB / 0.6029 GB, free: 492 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.3519, allocations: 0 / 0.6029 GB, free: 492 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.352, allocations: 326.8 kB / 0.6032 GB, free: 156 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.3521, allocations: 19.98 kB / 0.6032 GB, free: 136 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.3522, allocations: 33.7 kB / 0.6032 GB, free: 96 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3523, allocations: 56.86 kB / 0.6033 GB, free: 36 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3523, allocations: 0 / 0.6033 GB, free: 36 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000188/0.3525, allocations: 89.61 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3525, allocations: 4 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3525, allocations: 4 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.3525, allocations: 0 / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.3526, allocations: 15.98 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3526, allocations: 0 / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.3527, allocations: 7.984 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.3527, allocations: 0 / 0.6034 GB, free: 15.91 MB / 426.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 7.91e-05/0.3527, allocations: 122.3 kB / 0.6035 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3528, allocations: 7.906 kB / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.353, allocations: 101.6 kB / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.353, allocations: 320 / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.353, allocations: 0 / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.353, allocations: 4 kB / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.3534, allocations: 354.5 kB / 0.604 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3535, allocations: 7.938 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.3535, allocations: 11.94 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3535, allocations: 12.27 kB / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3535, allocations: 4 kB / 0.604 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3535, allocations: 0 / 0.604 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3535, allocations: 0 / 0.604 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3538, allocations: 191.3 kB / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.3538, allocations: 89 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3538, allocations: 4 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.3539, allocations: 4 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.3539, allocations: 11.92 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.354, allocations: 4 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.354, allocations: 99.27 kB / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.354, allocations: 0 / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.3543, allocations: 28 kB / 0.6044 GB, free: 14.77 MB / 426.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.0008322/0.3551, allocations: 455.2 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3553, allocations: 59.95 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3553, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3554, allocations: 27.98 kB / 0.6049 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3558, allocations: 12.55 kB / 0.6049 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3562, allocations: 168.7 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3564, allocations: 0.6913 MB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.3565, allocations: 4 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.3565, allocations: 19.42 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3565, allocations: 0 / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Templates: time 0.003237/0.3598, allocations: 1.291 MB / 0.6071 GB, free: 12.18 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches