Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001253, allocations: 99.38 kB / 16.99 MB, free: 5.941 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.001414/0.001414, allocations: 176.6 kB / 17.87 MB, free: 5.621 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.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.001754/0.1289, allocations: 1.31 MB / 472.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1302, allocations: 0.9687 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.1302, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1304, allocations: 19.86 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1305, allocations: 39.83 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1309, allocations: 155.5 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.131, allocations: 39.95 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.1311, allocations: 23.97 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.1312, allocations: 23.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.1313, allocations: 18.56 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1313, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.1314, allocations: 35.86 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.1314, allocations: 15.97 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1314, allocations: 33.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1316, allocations: 80.09 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1316, allocations: 4 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1316, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1316, allocations: 4 kB / 474.2 MB, free: 10.96 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.0004196/0.132, allocations: 383.1 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1321, allocations: 12.56 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1321, allocations: 7.906 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1323, allocations: 190.9 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1323, allocations: 7.938 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1323, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1325, allocations: 79.34 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1325, allocations: 7.984 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1326, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1326, allocations: 0 / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1327, allocations: 47.97 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1331, allocations: 308.8 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1333, allocations: 54.55 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1333, allocations: 0 / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1333, allocations: 34.56 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1333, allocations: 3.938 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000756/0.1341, allocations: 261.4 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1341, allocations: 77.11 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1343, allocations: 137.9 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1343, allocations: 33.7 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.1344, allocations: 99.97 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1344, allocations: 19.72 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1344, allocations: 0 / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1345, allocations: 326.8 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1347, allocations: 43.97 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1348, allocations: 69.61 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1349, allocations: 47.97 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1349, allocations: 7.969 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000289/0.1352, allocations: 137.5 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1353, allocations: 6.188 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1353, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1353, allocations: 3.984 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1354, allocations: 23.98 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1354, allocations: 0 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.1355, allocations: 15.98 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1355, allocations: 0 / 476.6 MB, free: 8.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/0.1356, allocations: 129.7 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1356, allocations: 7.906 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.136, allocations: 158.6 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.136, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.136, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.136, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.1366, allocations: 438.3 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1366, allocations: 0 / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.1367, allocations: 19.98 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1367, allocations: 4 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1367, allocations: 4 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1367, allocations: 4 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1367, allocations: 0 / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1371, allocations: 243.6 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1372, allocations: 89 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1372, allocations: 7.984 kB / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.1373, allocations: 11.98 kB / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1373, allocations: 4 kB / 477.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1373, allocations: 4 kB / 477.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.1374, allocations: 115.2 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1374, allocations: 0 / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1377, allocations: 27.94 kB / 477.9 MB, free: 6.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009116/0.1386, allocations: 436.8 kB / 478.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.139, allocations: 111.9 kB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.139, allocations: 0 / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1391, allocations: 55.97 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1394, allocations: 19.94 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.1398, allocations: 225.2 kB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.14, allocations: 0.7004 MB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.1401, allocations: 24.89 kB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1402, allocations: 27.36 kB / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1402, allocations: 0 / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.0038/0.144, allocations: 1.447 MB / 480.9 MB, free: 4.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches