Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 93.25 kB / 17 MB, free: 6.391 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.001427/0.001427, allocations: 183.5 kB / 17.89 MB, free: 5.922 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.469/1.469, allocations: 223.3 MB / 241.9 MB, free: 352 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.2296/0.2296, allocations: 44.26 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 13.47 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002458/0.1485, allocations: 1.33 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.1494, allocations: 383.7 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.1495, allocations: 0 / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.1501, allocations: 439.2 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.1505, allocations: 251.4 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1509, allocations: 111.7 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.1512, allocations: 131.7 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1514, allocations: 8 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1515, allocations: 107.8 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.1519, allocations: 167.7 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1519, allocations: 4 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.152, allocations: 39.94 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1522, allocations: 83.67 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.1522, allocations: 69.52 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1525, allocations: 183.7 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1525, allocations: 7.938 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1525, allocations: 0 / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1525, allocations: 0 / 474.9 MB, free: 10.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007258/0.1533, allocations: 0.5913 MB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1533, allocations: 8.562 kB / 475.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.1534, allocations: 43.44 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1537, allocations: 271.4 kB / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1537, allocations: 0 / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1537, allocations: 15.92 kB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1539, allocations: 69.56 kB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1539, allocations: 0 / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.154, allocations: 4 kB / 475.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.154, allocations: 0 / 475.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1541, allocations: 31.97 kB / 475.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.1547, allocations: 396.6 kB / 476.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1548, allocations: 46.56 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.1549, allocations: 16.94 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1549, allocations: 0 / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1549, allocations: 38.56 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1549, allocations: 0 / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009784/0.1559, allocations: 339.9 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.156, allocations: 55.41 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.1569, allocations: 0.8535 MB / 477.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1569, allocations: 29.7 kB / 477.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1571, allocations: 228 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1571, allocations: 27.64 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1572, allocations: 0 / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1573, allocations: 362.8 kB / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.1574, allocations: 23.98 kB / 478.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.1575, allocations: 35.98 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.1576, allocations: 31.98 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1576, allocations: 0 / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002603/0.1579, allocations: 137.1 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1579, allocations: 11.94 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1579, allocations: 3.938 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.158, allocations: 0 / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1581, allocations: 19.98 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1581, allocations: 0 / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.1582, allocations: 11.98 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1582, allocations: 7.953 kB / 478.5 MB, free: 6.516 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.1584, allocations: 213.8 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.1585, allocations: 43.44 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.159, allocations: 165.7 kB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.159, allocations: 3.938 kB / 479 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.159, allocations: 7.984 kB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.159, allocations: 4 kB / 479 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.1598, allocations: 0.503 MB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1598, allocations: 0 / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.1599, allocations: 24.02 kB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1599, allocations: 0 / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1599, allocations: 8 kB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1599, allocations: 0 / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1599, allocations: 3.953 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.1602, allocations: 240.3 kB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.1603, allocations: 112.5 kB / 479.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1603, allocations: 4 kB / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1604, allocations: 7.984 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.1605, allocations: 11.94 kB / 479.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1605, allocations: 4 kB / 479.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.1612, allocations: 0.655 MB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1612, allocations: 0 / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1615, allocations: 24 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.1626, allocations: 472.4 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1628, allocations: 71.89 kB / 481.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1628, allocations: 0 / 481.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.1629, allocations: 44.05 kB / 481.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1633, allocations: 25.95 kB / 481.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1646, allocations: 0.854 MB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.1651, allocations: 0.8185 MB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.1652, allocations: 20.95 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1652, allocations: 15.44 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1652, allocations: 0 / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Templates: time 0.005168/0.1704, allocations: 1.557 MB / 484.4 MB, free: 0.6484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches