Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.9 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.001686/0.001686, 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.441/1.441, 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.2238/0.2238, allocations: 43.52 MB / 314.1 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.001356/0.001356, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002942/0.1501, allocations: 1.569 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.1508, allocations: 339.6 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.1509, allocations: 0 / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1515, allocations: 451.2 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1519, allocations: 259.4 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1523, allocations: 147.7 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1525, allocations: 171.6 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1526, allocations: 20.11 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1527, allocations: 111.8 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.153, allocations: 203.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.153, allocations: 8 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.1531, allocations: 20 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1532, allocations: 79.69 kB / 0.4912 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.1533, allocations: 107 kB / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1535, allocations: 251 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1536, allocations: 0 / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1536, allocations: 3.938 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1536, allocations: 0 / 0.4915 GB, free: 8.086 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.0006919/0.1543, allocations: 0.6214 MB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1543, allocations: 15.89 kB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1544, allocations: 44.38 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1546, allocations: 292.2 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1547, allocations: 4.375 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1547, allocations: 384 / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1549, allocations: 65.55 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1549, allocations: 0 / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1549, allocations: 0 / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1549, allocations: 0 / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.155, allocations: 39.97 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.1555, allocations: 388.7 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1557, allocations: 46.5 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.1558, allocations: 28.94 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1558, allocations: 7.984 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1558, allocations: 30.56 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1558, allocations: 0 / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003347/0.1562, allocations: 121.2 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1562, allocations: 51.41 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/0.157, allocations: 0.8613 MB / 0.494 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1571, allocations: 29.7 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1572, allocations: 215.9 kB / 0.4943 GB, free: 5.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1573, allocations: 7.844 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1573, allocations: 21.7 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1575, allocations: 358.7 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.1575, allocations: 19.92 kB / 0.4947 GB, free: 4.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.1576, allocations: 20.17 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1577, allocations: 52.91 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1577, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001799/0.1579, allocations: 105.2 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.158, allocations: 8 kB / 0.4948 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.158, allocations: 0 / 0.4948 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.158, allocations: 3.938 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.1581, allocations: 11.98 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1581, allocations: 0 / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1581, allocations: 7.906 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1582, allocations: 4 kB / 0.4949 GB, free: 4.41 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 (3): * Single equations (assignments): 3 * 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.0001774/0.1583, allocations: 217.6 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.1584, allocations: 35.53 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1586, allocations: 125 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1587, allocations: 4 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1587, allocations: 0 / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1587, allocations: 4 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1589, allocations: 289.5 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.159, allocations: 0 / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.159, allocations: 15.92 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.159, allocations: 4 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.159, allocations: 0 / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.159, allocations: 0 / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.159, allocations: 0 / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1593, allocations: 210.9 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.1594, allocations: 104.6 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1594, allocations: 0 / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1595, allocations: 4 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.1596, allocations: 7.984 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1596, allocations: 4 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006538/0.1602, allocations: 0.6394 MB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1603, allocations: 0 / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1605, allocations: 24 kB / 0.4965 GB, free: 2.641 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 (3): * Single equations (assignments): 3 * 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.0008911/0.1614, allocations: 367.1 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1616, allocations: 43.97 kB / 0.4969 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1616, allocations: 0 / 0.4969 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.1617, allocations: 15.98 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1621, allocations: 29.81 kB / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.1631, allocations: 0.7716 MB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1635, allocations: 0.826 MB / 0.4985 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1636, allocations: 19.91 kB / 0.4985 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1636, allocations: 11.44 kB / 0.4985 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1636, allocations: 0 / 0.4985 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of Templates: time 0.004465/0.1681, allocations: 1.339 MB / 0.4998 GB, free: 15.2 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches