Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 90.3 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3448/0.3448, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009844, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1114, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003219/0.1147, allocations: 1.628 MB / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006002/0.1153, allocations: 311.6 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.1154, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1159, allocations: 447.2 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1162, allocations: 235.6 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1165, allocations: 111.7 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1167, allocations: 147.7 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.1168, allocations: 8 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.117, allocations: 107.7 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1172, allocations: 199.7 kB / 490.2 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1172, allocations: 0 / 490.2 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.1173, allocations: 19.94 kB / 490.2 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1175, allocations: 83.69 kB / 490.3 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1176, allocations: 99 kB / 490.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1178, allocations: 227.1 kB / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1179, allocations: 0 / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1179, allocations: 0 / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1179, allocations: 3.938 kB / 490.6 MB, free: 8.93 MB / 378.7 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.0008776/0.1188, allocations: 0.6338 MB / 491.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1188, allocations: 8.031 kB / 491.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.1189, allocations: 40.45 kB / 491.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1192, allocations: 292.2 kB / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1193, allocations: 4.375 kB / 491.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1193, allocations: 384 / 491.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1194, allocations: 53.81 kB / 491.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1195, allocations: 0 / 491.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1195, allocations: 0 / 491.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1195, allocations: 4 kB / 491.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.1196, allocations: 23.92 kB / 491.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1201, allocations: 368.8 kB / 492 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.1202, allocations: 26.58 kB / 492 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.1202, allocations: 24.84 kB / 492.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1203, allocations: 4 kB / 492.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1203, allocations: 30.56 kB / 492.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1203, allocations: 0 / 492.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.1206, allocations: 101 kB / 492.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1206, allocations: 51.41 kB / 492.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.1214, allocations: 0.8535 MB / 493.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1214, allocations: 29.83 kB / 493.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1215, allocations: 220.1 kB / 493.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1216, allocations: 7.891 kB / 493.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1216, allocations: 17.72 kB / 493.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1218, allocations: 358.7 kB / 493.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.1218, allocations: 15.98 kB / 493.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.1219, allocations: 4 kB / 493.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.1219, allocations: 32.84 kB / 493.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1219, allocations: 0 / 493.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.1221, allocations: 85.22 kB / 493.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1221, allocations: 7.938 kB / 493.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1222, allocations: 0 / 493.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1222, allocations: 0 / 493.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.1222, allocations: 7.984 kB / 493.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1223, allocations: 0 / 493.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1223, allocations: 11.94 kB / 493.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.1223, allocations: 0 / 493.9 MB, free: 5.422 MB / 378.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 (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.0001753/0.1225, allocations: 209.7 kB / 494.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1226, allocations: 39.52 kB / 494.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.1228, allocations: 108.6 kB / 494.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1228, allocations: 0 / 494.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1228, allocations: 0 / 494.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1228, allocations: 0 / 494.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1231, allocations: 289.5 kB / 494.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1231, allocations: 3.984 kB / 494.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1231, allocations: 4 kB / 494.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1232, allocations: 0 / 494.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1232, allocations: 4 kB / 494.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1232, allocations: 0 / 494.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1232, allocations: 0 / 494.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.1238, allocations: 0.8284 MB / 495.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.1239, allocations: 108.5 kB / 495.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.124, allocations: 0 / 495.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.124, allocations: 3.938 kB / 495.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1241, allocations: 4 kB / 495.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1241, allocations: 7.922 kB / 495.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005754/0.1247, allocations: 0.6472 MB / 496.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1247, allocations: 4.031 kB / 496.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.125, allocations: 16 kB / 496.1 MB, free: 3.02 MB / 378.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 (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.0007935/0.1258, allocations: 367 kB / 496.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.126, allocations: 23.98 kB / 496.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.126, allocations: 0 / 496.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.1261, allocations: 8 kB / 496.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1265, allocations: 26.56 kB / 496.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1277, allocations: 0.924 MB / 497.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1282, allocations: 0.8185 MB / 498.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.1283, allocations: 11.97 kB / 498.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1283, allocations: 15.44 kB / 498.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of SimCode: time 2.435e-06/0.1283, allocations: 0 / 498.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of Templates: time 0.004912/0.1332, allocations: 1.214 MB / 499.5 MB, free: 15.58 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches