Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007399/0.0007399, allocations: 93.2 kB / 18 MB, free: 5.602 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.0008255/0.0008255, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.379/1.379, allocations: 223.3 MB / 243 MB, free: 14.28 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.2065/0.2065, allocations: 44.25 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003246, allocations: 14.03 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001983/0.1077, allocations: 1.33 MB / 474.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.1085, allocations: 411.3 kB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1086, allocations: 0 / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.1091, allocations: 447.2 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1095, allocations: 239.6 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1098, allocations: 119.4 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1101, allocations: 151.8 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1102, allocations: 20.11 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1104, allocations: 95.78 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1106, allocations: 207.6 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1107, allocations: 0 / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.1108, allocations: 31.98 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1109, allocations: 83.62 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.111, allocations: 120.8 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1112, allocations: 171.8 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1112, allocations: 4 kB / 476.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1112, allocations: 7.938 kB / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1113, allocations: 0 / 476.3 MB, free: 9.898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008852/0.1121, allocations: 0.5875 MB / 476.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1122, allocations: 11.97 kB / 476.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.1123, allocations: 44.47 kB / 477 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1126, allocations: 292.2 kB / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1127, allocations: 384 / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1127, allocations: 12.31 kB / 477.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1129, allocations: 53.62 kB / 477.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1129, allocations: 4 kB / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1129, allocations: 4 kB / 477.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1129, allocations: 0 / 477.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.113, allocations: 27.97 kB / 477.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.1136, allocations: 392.6 kB / 477.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1138, allocations: 42.5 kB / 477.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.1139, allocations: 20.94 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1139, allocations: 4 kB / 477.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.114, allocations: 30.56 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.114, allocations: 4 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007423/0.1147, allocations: 235.9 kB / 478.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1148, allocations: 55.41 kB / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.1156, allocations: 0.8613 MB / 479 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1157, allocations: 29.7 kB / 479 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1158, allocations: 216.1 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1159, allocations: 11.81 kB / 479.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1159, allocations: 13.7 kB / 479.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.116, allocations: 362.8 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.1161, allocations: 23.98 kB / 479.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.1162, allocations: 27.92 kB / 479.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1164, allocations: 56.77 kB / 479.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1164, allocations: 4 kB / 479.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002408/0.1166, allocations: 121.1 kB / 479.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1166, allocations: 4 kB / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1167, allocations: 0 / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1167, allocations: 4 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.1167, allocations: 11.98 kB / 479.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1168, allocations: 8 kB / 479.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.1168, allocations: 7.938 kB / 479.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1168, allocations: 0 / 479.8 MB, free: 6.129 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 (5): * Single equations (assignments): 5 * 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.0001894/0.117, allocations: 218.2 kB / 480.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1171, allocations: 43.44 kB / 480.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1174, allocations: 137.1 kB / 480.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1174, allocations: 320 / 480.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1174, allocations: 3.984 kB / 480.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1174, allocations: 3.938 kB / 480.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1179, allocations: 474.4 kB / 480.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1179, allocations: 0 / 480.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.118, allocations: 12 kB / 480.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.118, allocations: 0 / 480.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.118, allocations: 3.938 kB / 480.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.118, allocations: 0 / 480.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.118, allocations: 4 kB / 480.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1183, allocations: 223 kB / 480.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.1184, allocations: 112.5 kB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1184, allocations: 3.938 kB / 481.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.1185, allocations: 7.984 kB / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1185, allocations: 4 kB / 481.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1186, allocations: 4 kB / 481.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005909/0.1191, allocations: 0.6511 MB / 481.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1192, allocations: 0 / 481.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1194, allocations: 24 kB / 481.8 MB, free: 4.117 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 (5): * Single equations (assignments): 5 * 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.0009289/0.1204, allocations: 408.5 kB / 482.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1206, allocations: 55.97 kB / 482.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1206, allocations: 0 / 482.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.1207, allocations: 31.92 kB / 482.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.121, allocations: 25.95 kB / 482.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1223, allocations: 0.8898 MB / 483.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.1228, allocations: 0.8185 MB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1228, allocations: 11.44 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1228, allocations: 0 / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Templates: time 0.007646/0.1305, allocations: 3.574 MB / 487.6 MB, free: 14.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches