Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001203/0.001203, allocations: 194 kB / 18.12 MB, free: 5.383 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.418/1.418, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2278/0.2278, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 55.91 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003039/0.1284, allocations: 1.672 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1301, allocations: 1.047 MB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1301, allocations: 3.938 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1303, allocations: 15.92 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.1305, allocations: 31.91 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1309, allocations: 170.1 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1311, allocations: 55.84 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.1312, allocations: 27.97 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.1312, allocations: 19.88 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1314, allocations: 35.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1314, allocations: 0 / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1315, allocations: 47.97 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.1316, allocations: 19.92 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.1316, allocations: 23.86 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1318, allocations: 92.05 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1318, allocations: 3.938 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1318, allocations: 4 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1318, allocations: 0 / 471.8 MB, free: 11.55 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.0005169/0.1324, allocations: 391.2 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1324, allocations: 12.03 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1325, allocations: 8.844 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1327, allocations: 187.1 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1327, allocations: 4.359 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1327, allocations: 8.375 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1329, allocations: 75.52 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1329, allocations: 4 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1329, allocations: 3.938 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.133, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1331, allocations: 43.95 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1335, allocations: 300.7 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1337, allocations: 50.55 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.1338, allocations: 28.88 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1338, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1338, allocations: 38.56 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1339, allocations: 0 / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008241/0.1347, allocations: 229.3 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.1348, allocations: 77.11 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1349, allocations: 145.8 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1349, allocations: 25.7 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.135, allocations: 96.12 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.135, allocations: 15.66 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.1351, allocations: 21.72 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1352, allocations: 322.8 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1354, allocations: 39.97 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1355, allocations: 61.61 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.1357, allocations: 84.8 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1357, allocations: 0 / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002881/0.136, allocations: 125.5 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1361, allocations: 4 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1361, allocations: 3.984 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1361, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1362, allocations: 19.98 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1362, allocations: 0 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1363, allocations: 15.92 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1363, allocations: 4 kB / 474.2 MB, free: 8.91 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 (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.945e-05/0.1364, allocations: 122.4 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1365, allocations: 7.906 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.1368, allocations: 137.9 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1368, allocations: 4 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1368, allocations: 0 / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.1368, allocations: 7.938 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.1374, allocations: 406.8 kB / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1374, allocations: 0 / 474.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.1375, allocations: 19.98 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1375, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1375, allocations: 7.922 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1375, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1375, allocations: 4 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1379, allocations: 219.5 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.1379, allocations: 85.02 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1379, allocations: 3.938 kB / 475.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.138, allocations: 15.98 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1381, allocations: 11.88 kB / 475.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1381, allocations: 4 kB / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.1382, allocations: 109.8 kB / 475.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 0 / 475.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1385, allocations: 24 kB / 475.3 MB, free: 7.641 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 (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.001001/0.1395, allocations: 448.5 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.1398, allocations: 87.92 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1398, allocations: 0 / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.14, allocations: 47.91 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1404, allocations: 19.98 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.1409, allocations: 220.1 kB / 476.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1412, allocations: 0.6926 MB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.362e-05/0.1413, allocations: 32.22 kB / 476.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1414, allocations: 19.44 kB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1414, allocations: 0 / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Templates: time 0.004207/0.1456, allocations: 1.453 MB / 478.3 MB, free: 4.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches