Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2161/0.2161, allocations: 43.54 MB / 314.1 MB, free: 436 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.001538/0.001538, allocations: 65.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003363/0.1422, allocations: 1.558 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.143, allocations: 339.3 kB / 0.4897 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.1431, allocations: 8 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1434, allocations: 23.86 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1436, allocations: 43.77 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1439, allocations: 71.84 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1441, allocations: 67.77 kB / 0.4899 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1442, allocations: 16.16 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.1443, allocations: 19.94 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.1444, allocations: 35.83 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1444, allocations: 0 / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1446, allocations: 51.98 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.1446, allocations: 19.91 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.1447, allocations: 23.81 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1449, allocations: 103.7 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1449, allocations: 0 / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.145, allocations: 0 / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.145, allocations: 0 / 0.4902 GB, free: 9.375 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.0005316/0.1455, allocations: 391.1 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1456, allocations: 8.031 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1456, allocations: 8.844 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1458, allocations: 188.2 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1458, allocations: 4.375 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1459, allocations: 4.375 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1461, allocations: 71.33 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1461, allocations: 0 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1461, allocations: 4 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1461, allocations: 4 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1462, allocations: 35.97 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1467, allocations: 300.7 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1468, allocations: 54.56 kB / 0.4912 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.1469, allocations: 20.97 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1469, allocations: 4 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.147, allocations: 38.56 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.147, allocations: 0 / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006398/0.1476, allocations: 165.3 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1477, allocations: 77.11 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1478, allocations: 149 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1479, allocations: 25.7 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.1479, allocations: 92.14 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.148, allocations: 27.55 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.148, allocations: 17.72 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1481, allocations: 326.8 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.1482, allocations: 23.92 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.1483, allocations: 45.69 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1485, allocations: 64.83 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1485, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000193/0.1487, allocations: 81.67 kB / 0.4923 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1487, allocations: 8 kB / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1487, allocations: 384 / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1487, allocations: 4.016 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1488, allocations: 23.94 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1489, allocations: 0 / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1489, allocations: 11.98 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1489, allocations: 7.938 kB / 0.4924 GB, free: 6.895 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 (7): * Single equations (assignments): 7 * 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 8.151e-05/0.149, allocations: 117.8 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1491, allocations: 7.906 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1493, allocations: 118.2 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1493, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1493, allocations: 0 / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1494, allocations: 4 kB / 0.4926 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1498, allocations: 374.5 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1498, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.1499, allocations: 15.98 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1499, allocations: 0 / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1499, allocations: 8 kB / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1499, allocations: 3.938 kB / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1499, allocations: 0 / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1502, allocations: 195.3 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1502, allocations: 81.11 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1502, allocations: 3.984 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1503, allocations: 11.94 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1504, allocations: 7.984 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1504, allocations: 4 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.1505, allocations: 107.2 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1505, allocations: 0 / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1507, allocations: 35.92 kB / 0.4934 GB, free: 5.711 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 (7): * Single equations (assignments): 7 * 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.00102/0.1518, allocations: 441.3 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.152, allocations: 59.89 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.152, allocations: 0 / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.1521, allocations: 35.97 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1525, allocations: 19.86 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.1529, allocations: 190 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1531, allocations: 0.6924 MB / 0.4948 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.1532, allocations: 24.27 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1533, allocations: 11.44 kB / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1533, allocations: 0 / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of Templates: time 0.004307/0.1576, allocations: 1.486 MB / 0.4963 GB, free: 2.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches