Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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 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 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 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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110 kB / 17.04 MB, free: 5.359 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.001551/0.001551, allocations: 194.6 kB / 17.98 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.92 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002662/0.1251, allocations: 1.543 MB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1261, allocations: 0.9418 MB / 444.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.1262, allocations: 3.938 kB / 444.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1264, allocations: 27.78 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1266, allocations: 43.84 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1268, allocations: 91.62 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.127, allocations: 63.83 kB / 444.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.1271, allocations: 11.92 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.1271, allocations: 15.94 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1273, allocations: 43.77 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1273, allocations: 4 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.1274, allocations: 47.98 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.1274, allocations: 4 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1275, allocations: 23.84 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1276, allocations: 87.78 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1276, allocations: 0 / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1276, allocations: 0 / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1276, allocations: 4 kB / 444.9 MB, free: 3.199 MB / 318.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.000344/0.128, allocations: 379.1 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.128, allocations: 19.83 kB / 445.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1281, allocations: 4.938 kB / 445.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1282, allocations: 188.2 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.1282, allocations: 4.375 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1283, allocations: 384 / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1284, allocations: 67.52 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1284, allocations: 0 / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1284, allocations: 4 kB / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1284, allocations: 0 / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.1285, allocations: 27.92 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.1288, allocations: 280.9 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.129, allocations: 38.56 kB / 445.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.1291, allocations: 20.94 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1291, allocations: 4 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.1291, allocations: 38.5 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1291, allocations: 0 / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004848/0.1296, allocations: 137.4 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1297, allocations: 89.03 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1298, allocations: 125.8 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1298, allocations: 33.69 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.1299, allocations: 92.05 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1299, allocations: 15.75 kB / 446.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1299, allocations: 25.7 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.13, allocations: 314.8 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.1301, allocations: 19.98 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.1301, allocations: 45.69 kB / 446.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1302, allocations: 56.95 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1302, allocations: 0 / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.1304, allocations: 85.52 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1304, allocations: 7.984 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1304, allocations: 0 / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1304, allocations: 288 / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.1305, allocations: 16.03 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1305, allocations: 0 / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.1306, allocations: 11.98 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1306, allocations: 0 / 447 MB, free: 0.8477 MB / 318.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 5.672e-05/0.1306, allocations: 121.7 kB / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1307, allocations: 7.984 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1309, allocations: 101.5 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1309, allocations: 4 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1309, allocations: 4 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1309, allocations: 0 / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1312, allocations: 346.5 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1312, allocations: 0 / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.1313, allocations: 15.98 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1313, allocations: 0 / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.1313, allocations: 0 / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1313, allocations: 7.938 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1313, allocations: 192 / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1315, allocations: 191.4 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1316, allocations: 77.11 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1316, allocations: 8 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1317, allocations: 7.938 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1317, allocations: 7.984 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1317, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.1318, allocations: 107.3 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.1318, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1321, allocations: 27.92 kB / 448 MB, free: 15.73 MB / 334.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.0009775/0.133, allocations: 444.8 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1333, allocations: 55.91 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1333, allocations: 3.938 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.1333, allocations: 23.98 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1337, allocations: 15.98 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.134, allocations: 161.5 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1343, allocations: 0.6905 MB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.1344, allocations: 23.91 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1344, allocations: 15.42 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1344, allocations: 0 / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Templates: time 0.004185/0.1386, allocations: 1.366 MB / 450.8 MB, free: 12.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches