Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001051/0.001052, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.299/1.299, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2124/0.2124, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 72.34 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002935/0.1079, allocations: 1.557 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.1087, allocations: 415.2 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.1087, allocations: 0 / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.1094, allocations: 447.2 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1098, allocations: 251.5 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1102, allocations: 134.5 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1104, allocations: 147.8 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.1105, allocations: 11.94 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1106, allocations: 115.7 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1109, allocations: 203.7 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1109, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.111, allocations: 20 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1111, allocations: 83.67 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.1112, allocations: 99 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1114, allocations: 235 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1114, allocations: 4 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1114, allocations: 0 / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1114, allocations: 0 / 472.9 MB, free: 10.68 MB / 350.1 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.0005961/0.112, allocations: 0.6183 MB / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1121, allocations: 8.031 kB / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1121, allocations: 48.31 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1124, allocations: 284.3 kB / 473.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1124, allocations: 8.375 kB / 473.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1125, allocations: 4.375 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1126, allocations: 53.75 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1126, allocations: 0 / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1126, allocations: 3.984 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1126, allocations: 0 / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.1127, allocations: 19.98 kB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.1131, allocations: 380.7 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.1132, allocations: 34.5 kB / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.1133, allocations: 12.92 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1133, allocations: 3.984 kB / 474.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1133, allocations: 34.56 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1133, allocations: 0 / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.1136, allocations: 89.22 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1136, allocations: 55.53 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.1144, allocations: 0.8535 MB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1144, allocations: 29.7 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1146, allocations: 216.1 kB / 475.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1146, allocations: 7.906 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1146, allocations: 17.66 kB / 475.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1148, allocations: 362.7 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.1148, allocations: 8 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.1149, allocations: 11.98 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.982e-05/0.1149, allocations: 24.84 kB / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.115, allocations: 0 / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001318/0.1151, allocations: 93.06 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1151, allocations: 4 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1151, allocations: 0 / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1152, allocations: 4.094 kB / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.1152, allocations: 8 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1152, allocations: 3.938 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.1153, allocations: 3.984 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1153, allocations: 4 kB / 476.2 MB, free: 7.172 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0001714/0.1155, allocations: 209.7 kB / 476.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.1155, allocations: 47.38 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1157, allocations: 100.6 kB / 476.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1157, allocations: 4.031 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1158, allocations: 4 kB / 476.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.1158, allocations: 3.984 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.116, allocations: 277.5 kB / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.116, allocations: 0 / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.1161, allocations: 7.984 kB / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1161, allocations: 0 / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1161, allocations: 0 / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1161, allocations: 4 kB / 476.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1161, allocations: 3.938 kB / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1163, allocations: 187 kB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.1164, allocations: 112.5 kB / 477.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1164, allocations: 3.984 kB / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.1165, allocations: 0 / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.1165, allocations: 4 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.1165, allocations: 0 / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.117, allocations: 0.6512 MB / 477.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.117, allocations: 0 / 477.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1173, allocations: 19.94 kB / 477.8 MB, free: 5.449 MB / 350.1 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 (2): * Single equations (assignments): 2 * 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.0007827/0.1181, allocations: 368.8 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1182, allocations: 19.92 kB / 478.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1182, allocations: 0 / 478.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.1183, allocations: 15.98 kB / 478.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1187, allocations: 21.95 kB / 478.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.1196, allocations: 0.7634 MB / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.12, allocations: 0.8259 MB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.798e-05/0.12, allocations: 4 kB / 479.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.12, allocations: 11.44 kB / 479.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.12, allocations: 0 / 479.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004445/0.1245, allocations: 1.263 MB / 481.1 MB, free: 2.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches