Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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.0009496/0.0009496, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.0009144/0.0009144, allocations: 192 kB / 18.56 MB, free: 4.434 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.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2038/0.2038, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.34 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1295, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003382/0.133, allocations: 1.631 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.1338, allocations: 455.1 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.1339, allocations: 4 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1342, allocations: 51.81 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1344, allocations: 63.73 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1349, allocations: 170.5 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.135, allocations: 83.81 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1351, allocations: 19.98 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.1352, allocations: 35.89 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.1353, allocations: 47.78 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1353, allocations: 7.938 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1355, allocations: 47.98 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.1355, allocations: 31.91 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1356, allocations: 31.73 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1358, allocations: 104 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1358, allocations: 0 / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1358, allocations: 0 / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1358, allocations: 0 / 472 MB, free: 11.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005197/0.1363, allocations: 419 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1364, allocations: 8.031 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1364, allocations: 8.844 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1366, allocations: 203.7 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1366, allocations: 4.375 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1367, allocations: 4.375 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1368, allocations: 65.8 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1369, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1369, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1369, allocations: 8 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.137, allocations: 47.89 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1375, allocations: 320.6 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1377, allocations: 66.56 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.1378, allocations: 32.95 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1379, allocations: 4 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1379, allocations: 30.56 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1379, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001443/0.1393, allocations: 413.3 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1394, allocations: 55.34 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1396, allocations: 186.2 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1396, allocations: 33.7 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1397, allocations: 108 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1397, allocations: 39.39 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.1398, allocations: 25.72 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1399, allocations: 326.8 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.14, allocations: 51.95 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1402, allocations: 51.95 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1404, allocations: 128.8 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1404, allocations: 0 / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003209/0.1408, allocations: 161.8 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1408, allocations: 4 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1408, allocations: 3.938 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1408, allocations: 0 / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1409, allocations: 35.84 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1409, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.141, allocations: 19.98 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.141, allocations: 4 kB / 474.8 MB, free: 8.566 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 (11): * Single equations (assignments): 11 * 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 0.0001073/0.1411, allocations: 121.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1412, allocations: 19.8 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.1416, allocations: 190.2 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1416, allocations: 7.938 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1416, allocations: 0 / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1416, allocations: 0 / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.1423, allocations: 0.4961 MB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1423, allocations: 0 / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.1425, allocations: 23.98 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1425, allocations: 4 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1425, allocations: 0 / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1425, allocations: 3.984 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1425, allocations: 4 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1429, allocations: 272.9 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.1429, allocations: 89 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.143, allocations: 4 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.1431, allocations: 7.938 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1431, allocations: 12.17 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1431, allocations: 12 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1432, allocations: 144.9 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1433, allocations: 0 / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1435, allocations: 28 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001089/0.1446, allocations: 465 kB / 476.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.145, allocations: 139.8 kB / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.145, allocations: 0 / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1452, allocations: 72.02 kB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1456, allocations: 27.86 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.1462, allocations: 296.5 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1465, allocations: 0.7158 MB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.1466, allocations: 28.52 kB / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.1467, allocations: 19.44 kB / 478 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1467, allocations: 0 / 478 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004463/0.1511, allocations: 1.598 MB / 479.6 MB, free: 3.82 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches