Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 95.19 kB / 17.35 MB, free: 6.375 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.001331/0.001331, allocations: 176.2 kB / 18.26 MB, free: 5.52 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.41/1.41, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004716, allocations: 8.906 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002469/0.1445, allocations: 1.266 MB / 473.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.1453, allocations: 391.4 kB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.1454, allocations: 4 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1456, allocations: 27.91 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1458, allocations: 27.92 kB / 474 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1461, allocations: 83.7 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1463, allocations: 55.78 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1464, allocations: 12 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.1464, allocations: 19.91 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.1465, allocations: 19.88 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1465, allocations: 0 / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.1466, allocations: 23.98 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1467, allocations: 19.92 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1467, allocations: 45.56 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1469, allocations: 79.66 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1469, allocations: 0 / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1469, allocations: 0 / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1469, allocations: 0 / 474.3 MB, free: 11.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004894/0.1474, allocations: 377.8 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1475, allocations: 8.031 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1475, allocations: 12.83 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1477, allocations: 184.2 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1477, allocations: 4.375 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1478, allocations: 384 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1479, allocations: 53.75 kB / 474.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1479, allocations: 3.984 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-06/0.1479, allocations: 4 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1479, allocations: 7.938 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.655e-05/0.1481, allocations: 23.98 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.1484, allocations: 280.8 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1487, allocations: 58.42 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.1487, allocations: 12.86 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1487, allocations: 8.078 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1488, allocations: 30.56 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1488, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005741/0.1494, allocations: 161.3 kB / 475.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1494, allocations: 55.41 kB / 475.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1496, allocations: 164.6 kB / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1496, allocations: 29.7 kB / 475.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.1496, allocations: 96.05 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1497, allocations: 19.73 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1497, allocations: 13.72 kB / 475.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1498, allocations: 322.8 kB / 476.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.1499, allocations: 23.98 kB / 476.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.15, allocations: 27.98 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1501, allocations: 44.84 kB / 476.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1501, allocations: 0 / 476.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1503, allocations: 101.5 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1503, allocations: 6.5 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1504, allocations: 0 / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1504, allocations: 0 / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.1504, allocations: 12 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1505, allocations: 0 / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1505, allocations: 11.98 kB / 476.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1505, allocations: 4 kB / 476.4 MB, free: 8.938 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 (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 9.328e-05/0.1506, allocations: 122.3 kB / 476.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1507, allocations: 7.906 kB / 476.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.1509, allocations: 101.9 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1509, allocations: 8 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1509, allocations: 0 / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1509, allocations: 0 / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.1513, allocations: 346.5 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1513, allocations: 0 / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1514, allocations: 23.92 kB / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1514, allocations: 384 / 477 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1514, allocations: 7.938 kB / 477 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1514, allocations: 7.938 kB / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1514, allocations: 0 / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1518, allocations: 183.4 kB / 477.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1518, allocations: 92.94 kB / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1519, allocations: 0 / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1519, allocations: 7.938 kB / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.152, allocations: 11.98 kB / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.152, allocations: 0 / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.1521, allocations: 127.2 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1524, allocations: 20 kB / 477.5 MB, free: 7.785 MB / 350.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.0009617/0.1533, allocations: 404.3 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1536, allocations: 51.97 kB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1536, allocations: 4 kB / 477.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.1537, allocations: 27.98 kB / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1541, allocations: 19.92 kB / 478 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.1545, allocations: 213.4 kB / 478.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1548, allocations: 0.6965 MB / 478.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.1549, allocations: 7.984 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1549, allocations: 11.44 kB / 478.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1549, allocations: 0 / 478.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004008/0.1589, allocations: 1.044 MB / 479.9 MB, free: 5.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches