Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 179 kB / 18.09 MB, free: 3.754 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.231/1.231, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.000801/0.0008014, allocations: 99.56 kB / 293.3 MB, free: 10.8 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.2981/0.2981, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 16 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.287, allocations: 61.87 MB / 0.5107 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3945, allocations: 91.24 MB / 0.5998 GB, free: 3.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3948, allocations: 75.95 kB / 0.5999 GB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.418, allocations: 9.739 MB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4181, allocations: 0 / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.4181, allocations: 15.98 kB / 0.6094 GB, free: 10.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007776/0.4189, allocations: 0.6343 MB / 0.61 GB, free: 9.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.419, allocations: 8.031 kB / 0.6101 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.4191, allocations: 40.47 kB / 0.6101 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4195, allocations: 377.9 kB / 0.6105 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4196, allocations: 12.38 kB / 0.6105 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.4196, allocations: 12.38 kB / 0.6105 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.4198, allocations: 119.3 kB / 0.6106 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4199, allocations: 192 / 0.6106 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4199, allocations: 3.938 kB / 0.6106 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4199, allocations: 4 kB / 0.6106 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.4201, allocations: 91.94 kB / 0.6107 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.4208, allocations: 0.5314 MB / 0.6112 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4209, allocations: 110.4 kB / 0.6113 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.421, allocations: 48.83 kB / 0.6114 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.4211, allocations: 3.984 kB / 0.6114 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4211, allocations: 38.56 kB / 0.6114 GB, free: 7.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4211, allocations: 0 / 0.6114 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000934/0.422, allocations: 452.5 kB / 0.6118 GB, free: 7.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4221, allocations: 59.31 kB / 0.6119 GB, free: 7.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.4227, allocations: 0.5408 MB / 0.6124 GB, free: 6.766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.4227, allocations: 25.7 kB / 0.6124 GB, free: 6.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4228, allocations: 208.3 kB / 0.6126 GB, free: 6.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4229, allocations: 59.19 kB / 0.6127 GB, free: 6.469 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4229, allocations: 0 / 0.6127 GB, free: 6.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.423, allocations: 350.8 kB / 0.613 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4232, allocations: 71.95 kB / 0.6131 GB, free: 6.047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4233, allocations: 73.36 kB / 0.6132 GB, free: 5.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.4235, allocations: 169.9 kB / 0.6133 GB, free: 5.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4235, allocations: 0 / 0.6133 GB, free: 5.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003432/0.4239, allocations: 236.9 kB / 0.6136 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4239, allocations: 6.031 kB / 0.6136 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4239, allocations: 0 / 0.6136 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4239, allocations: 4 kB / 0.6136 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4241, allocations: 39.97 kB / 0.6136 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4241, allocations: 0 / 0.6136 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.4242, allocations: 8 kB / 0.6136 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4242, allocations: 4 kB / 0.6136 GB, free: 5.512 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 (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 0.0001721/0.4244, allocations: 185.7 kB / 0.6138 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.4244, allocations: 43.47 kB / 0.6138 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.4249, allocations: 285.5 kB / 0.6141 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4249, allocations: 3.938 kB / 0.6141 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4249, allocations: 4 kB / 0.6141 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.425, allocations: 0 / 0.6141 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/0.4258, allocations: 0.7458 MB / 0.6148 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4259, allocations: 0 / 0.6148 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.426, allocations: 35.92 kB / 0.6149 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.426, allocations: 0 / 0.6149 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.426, allocations: 8 kB / 0.6149 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.426, allocations: 0 / 0.6149 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.426, allocations: 0 / 0.6149 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.4264, allocations: 342.8 kB / 0.6152 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4265, allocations: 144.6 kB / 0.6153 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.4266, allocations: 7.938 kB / 0.6154 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4267, allocations: 11.98 kB / 0.6154 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4267, allocations: 15.98 kB / 0.6154 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.4268, allocations: 7.938 kB / 0.6154 GB, free: 3.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000418/0.4272, allocations: 411 kB / 0.6158 GB, free: 3.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4272, allocations: 0 / 0.6158 GB, free: 3.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.4275, allocations: 75.88 kB / 0.6159 GB, free: 3.102 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 (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.001409/0.4289, allocations: 0.6971 MB / 0.6165 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.4293, allocations: 183.7 kB / 0.6167 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4293, allocations: 0 / 0.6167 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.4294, allocations: 91.89 kB / 0.6168 GB, free: 2.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4299, allocations: 58.39 kB / 0.6169 GB, free: 2.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.431, allocations: 0.7909 MB / 0.6176 GB, free: 1.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.4313, allocations: 0.8106 MB / 0.6184 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.4315, allocations: 69.89 kB / 0.6185 GB, free: 0.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.4316, allocations: 35.42 kB / 0.6185 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4316, allocations: 0 / 0.6185 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of Templates: time 0.006642/0.4382, allocations: 3.669 MB / 0.6221 GB, free: 12.99 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches