Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.002072/0.002071, allocations: 195 kB / 17.97 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.767/1.767, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.3005/0.3005, allocations: 43.52 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.001687/0.001687, allocations: 66.47 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00404/0.129, allocations: 1.604 MB / 443.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.1298, allocations: 335.5 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.13, allocations: 4 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1304, allocations: 63.78 kB / 444 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1307, allocations: 55.75 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1311, allocations: 155.2 kB / 444.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1313, allocations: 75.81 kB / 444.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1314, allocations: 23.92 kB / 444.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.1315, allocations: 31.92 kB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1316, allocations: 51.75 kB / 444.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1316, allocations: 4 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1317, allocations: 28 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1318, allocations: 31.89 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1319, allocations: 27.75 kB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1321, allocations: 87.72 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1321, allocations: 4 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1321, allocations: 4 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1321, allocations: 0 / 444.5 MB, free: 3.574 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.0005361/0.1327, allocations: 403 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1327, allocations: 11.89 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1328, allocations: 12.75 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.133, allocations: 202.1 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.133, allocations: 384 / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1331, allocations: 4.375 kB / 445.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1332, allocations: 65.8 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1333, allocations: 0 / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1333, allocations: 0 / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1333, allocations: 4 kB / 445.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1334, allocations: 39.91 kB / 445.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1339, allocations: 304.8 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.134, allocations: 50.55 kB / 445.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.1341, allocations: 24.94 kB / 445.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1342, allocations: 7.938 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.1342, allocations: 38.5 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.1342, allocations: 0 / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007769/0.135, allocations: 225.2 kB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1351, allocations: 55.41 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1352, allocations: 190.1 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1352, allocations: 25.7 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1353, allocations: 104.1 kB / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1354, allocations: 27.56 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1354, allocations: 17.72 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.1355, allocations: 326.8 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1356, allocations: 39.91 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.1357, allocations: 39.95 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1359, allocations: 93.02 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1359, allocations: 0 / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003077/0.1362, allocations: 125.5 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1363, allocations: 5.25 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1363, allocations: 288 / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.1363, allocations: 8 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1365, allocations: 23.97 kB / 447 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1365, allocations: 0 / 447 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.1366, allocations: 11.94 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1366, allocations: 3.984 kB / 447 MB, free: 0.9141 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 9.324e-05/0.1367, allocations: 125.8 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1367, allocations: 11.89 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.137, allocations: 146.3 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1371, allocations: 4 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1371, allocations: 0 / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1371, allocations: 3.938 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1375, allocations: 406.5 kB / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1375, allocations: 8 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.1376, allocations: 23.92 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1376, allocations: 0 / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1376, allocations: 3.938 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1376, allocations: 3.938 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1376, allocations: 4 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.138, allocations: 223.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.138, allocations: 81.02 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1381, allocations: 7.938 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.1381, allocations: 7.984 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.1382, allocations: 11.98 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1382, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1384, allocations: 139.2 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1386, allocations: 24 kB / 448.2 MB, free: 15.59 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.0009932/0.1396, allocations: 408.6 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.14, allocations: 91.92 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.14, allocations: 0 / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1401, allocations: 52.06 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1405, allocations: 12.14 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.1411, allocations: 258.4 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1415, allocations: 0.7051 MB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.787e-05/0.1416, allocations: 23.97 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.1416, allocations: 15.44 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1417, allocations: 0 / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Templates: time 0.004346/0.146, allocations: 1.283 MB / 451 MB, free: 12.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches