Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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 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 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) 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001368/0.001368, allocations: 183.9 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4201, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003169/0.4233, allocations: 1.642 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.4243, allocations: 451 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.4244, allocations: 1.406 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.4247, allocations: 64.81 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.4249, allocations: 51.91 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.4254, allocations: 180.2 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.4257, allocations: 79.97 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4259, allocations: 22.27 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.426, allocations: 37.22 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.4261, allocations: 45.36 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4261, allocations: 8.188 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4263, allocations: 48.3 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.4263, allocations: 25.33 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.4264, allocations: 36.56 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4266, allocations: 104.5 kB / 0.5216 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4266, allocations: 0 / 0.5216 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4266, allocations: 0 / 0.5216 GB, free: 1.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4267, allocations: 5.125 kB / 0.5216 GB, free: 1.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004873/0.4272, allocations: 409.4 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4272, allocations: 14.7 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.4273, allocations: 9.188 kB / 0.5221 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4274, allocations: 202.8 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4274, allocations: 1.531 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.4275, allocations: 7.906 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4277, allocations: 66.44 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4277, allocations: 0.7031 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4277, allocations: 1.156 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4277, allocations: 1.062 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.4279, allocations: 51.17 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.4284, allocations: 314 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4287, allocations: 59.97 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.4288, allocations: 34.83 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.4289, allocations: 1.094 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4289, allocations: 32.44 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.4289, allocations: 0 / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001692/0.4306, allocations: 425.1 kB / 0.5232 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.4306, allocations: 61.41 kB / 0.5233 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.4308, allocations: 182.1 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4309, allocations: 30.83 kB / 0.5235 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.4309, allocations: 104.4 kB / 0.5236 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.431, allocations: 39.25 kB / 0.5236 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.431, allocations: 27.84 kB / 0.5236 GB, free: 316 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4311, allocations: 322.4 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4313, allocations: 55.08 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4314, allocations: 55.8 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.4318, allocations: 126.2 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4318, allocations: 1.812 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.4321, allocations: 160.4 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4322, allocations: 7.641 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4322, allocations: 0 / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4322, allocations: 0 / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4323, allocations: 34.83 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.4323, allocations: 0 / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.4324, allocations: 16.03 kB / 0.5244 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4324, allocations: 2.672 kB / 0.5244 GB, free: 15.83 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001354/0.4326, allocations: 132.8 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.4326, allocations: 17.58 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.4331, allocations: 182 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4331, allocations: 5.75 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4331, allocations: 1.172 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4331, allocations: 1.703 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.4339, allocations: 0.4955 MB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4339, allocations: 0 / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.434, allocations: 33.61 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4341, allocations: 1.125 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4341, allocations: 11.02 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4341, allocations: 1.094 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4341, allocations: 1.75 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.4346, allocations: 279.1 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.4346, allocations: 85.16 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4346, allocations: 1.922 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.4347, allocations: 10.84 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.4348, allocations: 11.75 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.4348, allocations: 3.562 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.435, allocations: 144.2 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.435, allocations: 0 / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.4352, allocations: 24.69 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001055/0.4363, allocations: 462.2 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.4367, allocations: 135.4 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4367, allocations: 0 / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.4369, allocations: 66 kB / 0.5264 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.4373, allocations: 34.92 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.4381, allocations: 298 kB / 0.5267 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4386, allocations: 0.719 MB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.4388, allocations: 33.44 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.4388, allocations: 15.11 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4388, allocations: 0 / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Templates: time 0.005541/0.4444, allocations: 1.62 MB / 0.529 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches