Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 111.2 kB / 17.04 MB, free: 5.816 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.0009668/0.0009668, allocations: 195 kB / 17.98 MB, free: 5.027 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.449/1.449, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2244/0.2244, allocations: 43.51 MB / 314.7 MB, free: 488 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.001427/0.001427, allocations: 65.66 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002951/0.1251, allocations: 1.612 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005401/0.1257, allocations: 339.5 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.1258, allocations: 0 / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1261, allocations: 75.77 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1263, allocations: 71.73 kB / 444.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1266, allocations: 151.2 kB / 444.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1268, allocations: 75.81 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1269, allocations: 27.92 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.127, allocations: 31.89 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1271, allocations: 55.77 kB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1271, allocations: 0 / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.1272, allocations: 36 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.1273, allocations: 27.89 kB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1274, allocations: 35.75 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1275, allocations: 95.7 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1275, allocations: 0 / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1276, allocations: 0 / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1276, allocations: 0 / 444.6 MB, free: 3.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004957/0.1281, allocations: 418.8 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1281, allocations: 11.89 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1282, allocations: 8.844 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1283, allocations: 193.2 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1283, allocations: 12.38 kB / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1284, allocations: 384 / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1285, allocations: 61.8 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1285, allocations: 0 / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1285, allocations: 4 kB / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1285, allocations: 0 / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1287, allocations: 43.89 kB / 445.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.129, allocations: 312.7 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1292, allocations: 46.56 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1292, allocations: 28.92 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1293, allocations: 3.984 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.1293, allocations: 38.5 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1293, allocations: 0 / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006936/0.13, allocations: 225.1 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.13, allocations: 51.41 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1302, allocations: 212.7 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1302, allocations: 29.7 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.1302, allocations: 112 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1303, allocations: 15.72 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1303, allocations: 21.7 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.1304, allocations: 330.7 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.1305, allocations: 35.95 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.1306, allocations: 52.05 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1308, allocations: 88.94 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1308, allocations: 0 / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002268/0.131, allocations: 125.5 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.131, allocations: 8 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.131, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.131, allocations: 4 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1312, allocations: 15.98 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1312, allocations: 0 / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1312, allocations: 19.92 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1312, allocations: 0 / 447.1 MB, free: 0.8164 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 (7): * Single equations (assignments): 7 * 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 7.195e-05/0.1313, allocations: 137.7 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1314, allocations: 15.81 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.1316, allocations: 143 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1317, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1317, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1317, allocations: 3.938 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1321, allocations: 414.5 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1321, allocations: 0 / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.1322, allocations: 23.92 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1322, allocations: 0 / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1322, allocations: 3.938 kB / 447.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1322, allocations: 0 / 447.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1322, allocations: 3.984 kB / 447.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1326, allocations: 223.4 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1326, allocations: 85 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1327, allocations: 7.938 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.1327, allocations: 4 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1328, allocations: 11.98 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1328, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1329, allocations: 159.9 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.133, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1332, allocations: 23.94 kB / 448.3 MB, free: 15.48 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 (7): * Single equations (assignments): 7 * 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.0009393/0.1342, allocations: 405.5 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.1345, allocations: 91.92 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1345, allocations: 4 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1346, allocations: 48.06 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.135, allocations: 27.78 kB / 448.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.1355, allocations: 251 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1358, allocations: 0.7119 MB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.1359, allocations: 19.98 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1359, allocations: 11.44 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1359, allocations: 0 / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.004041/0.14, allocations: 1.306 MB / 451.1 MB, free: 12.65 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches