Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001093/0.001093, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.08 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.2052/0.2052, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 62.06 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1097, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00313/0.1128, allocations: 1.568 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.1136, allocations: 407.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.1136, allocations: 4 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.1141, allocations: 447.2 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.1144, allocations: 255.4 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1147, allocations: 119.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1149, allocations: 155.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.115, allocations: 8 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.1152, allocations: 107.7 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1154, allocations: 203.7 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1154, allocations: 4 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1154, allocations: 27.92 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.1156, allocations: 83.69 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.1156, allocations: 98.98 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1159, allocations: 235.1 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1159, allocations: 0 / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1159, allocations: 0 / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1159, allocations: 0 / 474.4 MB, free: 9.957 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.00062/0.1165, allocations: 0.6247 MB / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1166, allocations: 16.03 kB / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.1166, allocations: 44.31 kB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1169, allocations: 300.2 kB / 475.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1169, allocations: 4.375 kB / 475.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1169, allocations: 384 / 475.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1171, allocations: 45.81 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1171, allocations: 4 kB / 475.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1171, allocations: 4 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1171, allocations: 0 / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.1172, allocations: 23.98 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1177, allocations: 376.6 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.1178, allocations: 30.56 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.1178, allocations: 12.92 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1179, allocations: 0 / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1179, allocations: 38.55 kB / 475.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1179, allocations: 0 / 475.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.1181, allocations: 97.16 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1182, allocations: 51.41 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.119, allocations: 0.8574 MB / 476.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.119, allocations: 25.7 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1192, allocations: 216.1 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1192, allocations: 8.031 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1192, allocations: 13.72 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1194, allocations: 366.7 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.1195, allocations: 4 kB / 477.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.1195, allocations: 11.98 kB / 477.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.1196, allocations: 24.84 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1196, allocations: 4.062 kB / 477.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001418/0.1197, allocations: 89.06 kB / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1198, allocations: 8 kB / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1198, allocations: 0 / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1198, allocations: 0 / 477.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.1199, allocations: 4 kB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1199, allocations: 3.938 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1199, allocations: 7.984 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.12, allocations: 0 / 477.7 MB, free: 6.449 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.0002056/0.1202, allocations: 217.8 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.1202, allocations: 39.44 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1204, allocations: 108.5 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1204, allocations: 0 / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1205, allocations: 0 / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1205, allocations: 0 / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1207, allocations: 285.5 kB / 478.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1207, allocations: 3.938 kB / 478.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.1208, allocations: 8.031 kB / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1208, allocations: 3.984 kB / 478.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1208, allocations: 4 kB / 478.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1208, allocations: 4 kB / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1208, allocations: 0 / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.121, allocations: 179 kB / 478.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1211, allocations: 108.5 kB / 478.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1211, allocations: 7.969 kB / 478.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1212, allocations: 7.984 kB / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1212, allocations: 4 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1212, allocations: 0 / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.1218, allocations: 0.6433 MB / 479.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1218, allocations: 0 / 479.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.122, allocations: 23.94 kB / 479.3 MB, free: 4.719 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.0007509/0.1228, allocations: 357.8 kB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1229, allocations: 19.98 kB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1229, allocations: 0 / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.123, allocations: 12.05 kB / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1233, allocations: 29.69 kB / 479.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.1243, allocations: 0.7554 MB / 480.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.1249, allocations: 0.8143 MB / 481.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.1249, allocations: 7.984 kB / 481.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.125, allocations: 11.44 kB / 481.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.125, allocations: 0 / 481.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Templates: time 0.00442/0.1294, allocations: 1.254 MB / 482.5 MB, free: 1.551 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches