Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001171/0.001171, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.204/0.204, allocations: 43.53 MB / 314.1 MB, free: 464 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.001326/0.001326, allocations: 64.47 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002901/0.1333, allocations: 1.566 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00063/0.1339, allocations: 339.4 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.134, allocations: 4 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1343, allocations: 95.73 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1345, allocations: 63.81 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1348, allocations: 91.73 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.135, allocations: 95.8 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1351, allocations: 20.16 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.1351, allocations: 35.91 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1353, allocations: 55.77 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1353, allocations: 4 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.1354, allocations: 31.98 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.1354, allocations: 31.91 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1355, allocations: 31.73 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1357, allocations: 107.6 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1357, allocations: 0 / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1357, allocations: 0 / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1357, allocations: 0 / 0.4904 GB, free: 9.238 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005382/0.1363, allocations: 426.2 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1363, allocations: 11.89 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1363, allocations: 12.75 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1365, allocations: 200.1 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1366, allocations: 4.375 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1366, allocations: 8.375 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1368, allocations: 75.27 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1368, allocations: 3.984 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1368, allocations: 8 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1368, allocations: 3.984 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1369, allocations: 35.97 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1374, allocations: 400.9 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1377, allocations: 85.22 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.1378, allocations: 37.73 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1378, allocations: 0 / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1378, allocations: 30.56 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1378, allocations: 0 / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006894/0.1385, allocations: 252.6 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1386, allocations: 85.11 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1388, allocations: 235.5 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1388, allocations: 29.7 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1389, allocations: 108.1 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1389, allocations: 31.55 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.139, allocations: 21.72 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1391, allocations: 326.8 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.1392, allocations: 31.97 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.1393, allocations: 53.69 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1394, allocations: 85.61 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1394, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.1397, allocations: 129.4 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1397, allocations: 8 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1397, allocations: 0 / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1397, allocations: 0 / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.1398, allocations: 19.98 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1398, allocations: 3.938 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.1399, allocations: 11.92 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1399, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001143/0.14, allocations: 141.8 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1401, allocations: 11.81 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.1404, allocations: 154.7 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1404, allocations: 0 / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1404, allocations: 3.938 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1404, allocations: 0 / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.141, allocations: 0.5063 MB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.141, allocations: 0.6094 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.141, allocations: 23.92 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1411, allocations: 0 / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1411, allocations: 8 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1411, allocations: 0 / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1411, allocations: 0 / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1414, allocations: 307.5 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1414, allocations: 92.94 kB / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1414, allocations: 4 kB / 0.4942 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.1415, allocations: 7.984 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1416, allocations: 7.938 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1416, allocations: 11.98 kB / 0.4943 GB, free: 4.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1417, allocations: 175.2 kB / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1417, allocations: 0 / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.142, allocations: 16 kB / 0.4945 GB, free: 4.688 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0009082/0.1429, allocations: 403.3 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1432, allocations: 91.81 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1432, allocations: 4 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.1433, allocations: 39.92 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1438, allocations: 31.06 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.1443, allocations: 296.1 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1446, allocations: 0.7158 MB / 0.496 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.1446, allocations: 24.36 kB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1447, allocations: 15.44 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1447, allocations: 0 / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of Templates: time 0.003794/0.1485, allocations: 1.32 MB / 0.4973 GB, free: 1.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches