Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 112.7 kB / 17.05 MB, free: 5.988 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.00116/0.00116, allocations: 192.6 kB / 17.98 MB, free: 5.082 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.737/1.737, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2477/0.2477, allocations: 43.52 MB / 314.7 MB, free: 468 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.001694/0.001694, allocations: 73.61 kB / 442.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1373, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00304/0.1404, allocations: 1.555 MB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006302/0.1411, allocations: 327.5 kB / 0.4903 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.1412, allocations: 0 / 0.4903 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.1415, allocations: 103.7 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1418, allocations: 83.7 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.142, allocations: 59.86 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1422, allocations: 79.8 kB / 0.4906 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1423, allocations: 15.98 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.1423, allocations: 43.83 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1425, allocations: 63.86 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1425, allocations: 0 / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.1426, allocations: 28 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1426, allocations: 19.92 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1427, allocations: 43.61 kB / 0.4908 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1429, allocations: 91.72 kB / 0.4909 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1429, allocations: 4 kB / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1429, allocations: 7.938 kB / 0.4909 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1429, allocations: 3.984 kB / 0.4909 GB, free: 9.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004988/0.1434, allocations: 402.9 kB / 0.4913 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1435, allocations: 11.89 kB / 0.4913 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1435, allocations: 8.844 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1437, allocations: 207.9 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1437, allocations: 4.375 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1438, allocations: 4.375 kB / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1439, allocations: 57.75 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1439, allocations: 0 / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1439, allocations: 0 / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.144, allocations: 0 / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.1441, allocations: 19.98 kB / 0.4916 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1444, allocations: 284.9 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1446, allocations: 46.5 kB / 0.4919 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1447, allocations: 20.94 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1447, allocations: 0 / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1448, allocations: 34.56 kB / 0.492 GB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.604e-06/0.1448, allocations: 3.984 kB / 0.492 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.1453, allocations: 145.1 kB / 0.4921 GB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1454, allocations: 55.41 kB / 0.4922 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1456, allocations: 246.6 kB / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1456, allocations: 25.7 kB / 0.4925 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1457, allocations: 108.1 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1457, allocations: 11.81 kB / 0.4926 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1458, allocations: 21.7 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1459, allocations: 326.8 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.146, allocations: 23.98 kB / 0.4929 GB, free: 7.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.1461, allocations: 15.98 kB / 0.4929 GB, free: 7.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1462, allocations: 48.97 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1462, allocations: 0 / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001765/0.1464, allocations: 81.56 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1464, allocations: 8 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1464, allocations: 4 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1464, allocations: 0 / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1465, allocations: 11.98 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1465, allocations: 0 / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.1465, allocations: 7.906 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1466, allocations: 8 kB / 0.4931 GB, free: 6.855 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.0001001/0.1467, allocations: 137.6 kB / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1467, allocations: 11.84 kB / 0.4932 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1469, allocations: 102.6 kB / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.147, allocations: 3.938 kB / 0.4933 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.147, allocations: 0 / 0.4933 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.147, allocations: 0 / 0.4933 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.1474, allocations: 362.4 kB / 0.4937 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1474, allocations: 0 / 0.4937 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.1474, allocations: 11.98 kB / 0.4937 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1474, allocations: 4 kB / 0.4937 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1475, allocations: 4.188 kB / 0.4937 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1475, allocations: 7.938 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1475, allocations: 0 / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1477, allocations: 179.3 kB / 0.4939 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1477, allocations: 85.02 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1478, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1478, allocations: 15.94 kB / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1479, allocations: 7.922 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1479, allocations: 4 kB / 0.494 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.148, allocations: 179.2 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1481, allocations: 0 / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1483, allocations: 20 kB / 0.4942 GB, free: 5.633 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.0009126/0.1492, allocations: 404.9 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1494, allocations: 47.97 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1494, allocations: 0 / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.1495, allocations: 23.92 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1499, allocations: 23.84 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1504, allocations: 275.9 kB / 0.4949 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1506, allocations: 0.7158 MB / 0.4956 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.1507, allocations: 11.44 kB / 0.4956 GB, free: 4.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1507, allocations: 0 / 0.4956 GB, free: 4.117 MB / 382.1 MB Notification: Performance of Templates: time 0.003265/0.154, allocations: 1.551 MB / 0.4972 GB, free: 2.566 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches