Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 108 kB / 16.41 MB, free: 6.449 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.001472/0.001472, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2188/0.2188, allocations: 43.52 MB / 314.1 MB, free: 456 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.001482/0.001482, allocations: 69.47 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003468/0.1275, allocations: 1.6 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006838/0.1282, allocations: 351.5 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.1283, allocations: 3.938 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.1289, allocations: 447.2 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1292, allocations: 255.5 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.1297, allocations: 151.7 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1299, allocations: 159.7 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.13, allocations: 24.16 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1302, allocations: 115.7 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1304, allocations: 207.6 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1305, allocations: 0 / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.1306, allocations: 36 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1307, allocations: 87.67 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.1308, allocations: 99 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1311, allocations: 255 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1311, allocations: 4 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1311, allocations: 0 / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1311, allocations: 0 / 0.4916 GB, free: 7.996 MB / 382.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.0007078/0.1318, allocations: 0.6336 MB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1319, allocations: 11.89 kB / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.132, allocations: 44.38 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1323, allocations: 292.2 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1323, allocations: 4.312 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1323, allocations: 4.375 kB / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1325, allocations: 61.55 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1325, allocations: 0 / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1325, allocations: 4 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1325, allocations: 0 / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1326, allocations: 27.97 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.1332, allocations: 404.6 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1334, allocations: 46.48 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1335, allocations: 16.86 kB / 0.4931 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1335, allocations: 0 / 0.4931 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1336, allocations: 46.64 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1336, allocations: 0 / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006213/0.1342, allocations: 224 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1343, allocations: 51.41 kB / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1351, allocations: 0.8613 MB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1351, allocations: 29.7 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1353, allocations: 224.1 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1353, allocations: 19.64 kB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.1354, allocations: 21.72 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1355, allocations: 354.8 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.1356, allocations: 23.97 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.1357, allocations: 23.92 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1358, allocations: 60.77 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1358, allocations: 0 / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002305/0.1361, allocations: 113.5 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1361, allocations: 4 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1361, allocations: 3.984 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1361, allocations: 4 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.1362, allocations: 12 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1362, allocations: 0 / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.1363, allocations: 15.91 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1363, allocations: 7.984 kB / 0.4951 GB, free: 4.152 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001845/0.1365, allocations: 217.7 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.1365, allocations: 47.42 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1368, allocations: 137 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1368, allocations: 4 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1368, allocations: 4.297 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1368, allocations: 3.938 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1374, allocations: 466.4 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1374, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1374, allocations: 11.98 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1375, allocations: 0 / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1375, allocations: 7.938 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1375, allocations: 0 / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1375, allocations: 0 / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1377, allocations: 219 kB / 0.4961 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1378, allocations: 112.6 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1378, allocations: 3.938 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.138, allocations: 7.984 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.138, allocations: 4 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.138, allocations: 4 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.1386, allocations: 0.6511 MB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1386, allocations: 0 / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1389, allocations: 23.98 kB / 0.4969 GB, free: 2.148 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0009214/0.1398, allocations: 412.2 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.14, allocations: 51.95 kB / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1401, allocations: 0 / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1401, allocations: 31.92 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1405, allocations: 29.81 kB / 0.4974 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1417, allocations: 0.7833 MB / 0.4982 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.1422, allocations: 0.8221 MB / 0.499 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.1423, allocations: 12.03 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1423, allocations: 15.44 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1423, allocations: 4 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of Templates: time 0.00529/0.1476, allocations: 1.471 MB / 0.5005 GB, free: 14.51 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches