Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009897/0.0009897, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.288/1.288, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008959/0.0008961, allocations: 105.4 kB / 292.2 MB, free: 10.92 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.334/0.334, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 12 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 61.89 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4138, allocations: 88.95 MB / 0.5964 GB, free: 6.199 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4141, allocations: 79.91 kB / 0.5965 GB, free: 6.125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.4311, allocations: 7.951 MB / 0.6043 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4311, allocations: 0 / 0.6043 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.4312, allocations: 8 kB / 0.6043 GB, free: 14.15 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007876/0.432, allocations: 0.6258 MB / 0.6049 GB, free: 13.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.432, allocations: 12.56 kB / 0.6049 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.4321, allocations: 39.44 kB / 0.6049 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.4327, allocations: 335.2 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4327, allocations: 4 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.4328, allocations: 7.984 kB / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4329, allocations: 53.67 kB / 0.6053 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.433, allocations: 11.94 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.433, allocations: 0 / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.433, allocations: 4 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4331, allocations: 27.98 kB / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.4338, allocations: 456.5 kB / 0.6058 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.434, allocations: 46.56 kB / 0.6058 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4341, allocations: 0 / 0.6058 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4341, allocations: 34.64 kB / 0.6059 GB, free: 12.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4341, allocations: 0 / 0.6059 GB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006862/0.4348, allocations: 251.9 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4348, allocations: 55.36 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.436, allocations: 0.7941 MB / 0.6069 GB, free: 11.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4361, allocations: 25.7 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.4362, allocations: 228 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4363, allocations: 15.75 kB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4363, allocations: 0 / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4364, allocations: 358.8 kB / 0.6075 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.4365, allocations: 27.97 kB / 0.6076 GB, free: 10.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.4366, allocations: 31.92 kB / 0.6076 GB, free: 10.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.4366, allocations: 23.98 kB / 0.6076 GB, free: 10.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4367, allocations: 0 / 0.6076 GB, free: 10.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.4369, allocations: 129.1 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4369, allocations: 13.86 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4369, allocations: 3.938 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4369, allocations: 0 / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.437, allocations: 16 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.437, allocations: 0 / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.4371, allocations: 16.19 kB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.4371, allocations: 0 / 0.6078 GB, free: 10.33 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 0.0001785/0.4373, allocations: 221.7 kB / 0.608 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4374, allocations: 43.53 kB / 0.608 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4377, allocations: 149 kB / 0.6082 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4377, allocations: 0 / 0.6082 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4378, allocations: 4 kB / 0.6082 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4378, allocations: 0 / 0.6082 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.4386, allocations: 0.5998 MB / 0.6088 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4386, allocations: 0 / 0.6088 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.4387, allocations: 15.98 kB / 0.6088 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4387, allocations: 4 kB / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4387, allocations: 0 / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4387, allocations: 0 / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4387, allocations: 3.953 kB / 0.6088 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.439, allocations: 231 kB / 0.609 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.4392, allocations: 156.6 kB / 0.6092 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.4393, allocations: 4 kB / 0.6092 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.4394, allocations: 11.98 kB / 0.6092 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.4394, allocations: 3.938 kB / 0.6092 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4394, allocations: 7.953 kB / 0.6092 GB, free: 8.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006958/0.4401, allocations: 0.6393 MB / 0.6098 GB, free: 8.141 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4402, allocations: 4 kB / 0.6098 GB, free: 8.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.4405, allocations: 56 kB / 0.6099 GB, free: 8.082 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.000842/0.4413, allocations: 424 kB / 0.6103 GB, free: 7.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4415, allocations: 59.97 kB / 0.6103 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4415, allocations: 3.938 kB / 0.6103 GB, free: 7.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.4416, allocations: 39.91 kB / 0.6104 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4419, allocations: 26.3 kB / 0.6104 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.443, allocations: 0.9076 MB / 0.6113 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4435, allocations: 0.834 MB / 0.6121 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.952e-05/0.4436, allocations: 51.83 kB / 0.6121 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.4436, allocations: 23.42 kB / 0.6122 GB, free: 5.824 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4436, allocations: 0 / 0.6122 GB, free: 5.824 MB / 426.7 MB Notification: Performance of Templates: time 0.005759/0.4494, allocations: 2.439 MB / 0.6145 GB, free: 3.383 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches