Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 104.1 kB / 17.21 MB, free: 6.27 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.001063/0.001063, allocations: 190 kB / 18.12 MB, free: 5.363 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.388/1.388, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 44.17 MB / 336.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.73 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004034/0.1462, allocations: 1.629 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1473, allocations: 427.3 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.1474, allocations: 3.938 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.1482, allocations: 447.2 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.1488, allocations: 239.6 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.1496, allocations: 162.4 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.1499, allocations: 159.6 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1501, allocations: 8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1503, allocations: 103.8 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.1506, allocations: 203.6 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1507, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1508, allocations: 23.98 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.151, allocations: 83.62 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1512, allocations: 103 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.1517, allocations: 231 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1517, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1517, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1517, allocations: 0 / 472.3 MB, free: 11.05 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.001131/0.1529, allocations: 0.6223 MB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.153, allocations: 8.031 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.1531, allocations: 40.38 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1535, allocations: 296.2 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1535, allocations: 4.375 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1536, allocations: 384 / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1538, allocations: 57.73 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1538, allocations: 0 / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1539, allocations: 4 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1539, allocations: 7.938 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.154, allocations: 19.98 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.1549, allocations: 384.7 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.155, allocations: 34.56 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.1551, allocations: 20.86 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.1552, allocations: 3.984 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1552, allocations: 38.55 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.1552, allocations: 0 / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005036/0.1557, allocations: 101.1 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.1558, allocations: 55.39 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.1572, allocations: 0.8574 MB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1573, allocations: 29.7 kB / 474.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.1576, allocations: 220.1 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1576, allocations: 3.906 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.1577, allocations: 17.72 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.158, allocations: 362.9 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.1581, allocations: 11.98 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.1582, allocations: 11.94 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1583, allocations: 28.83 kB / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1583, allocations: 0 / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002277/0.1586, allocations: 89.22 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1586, allocations: 8.094 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1586, allocations: 0 / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.1587, allocations: 3.938 kB / 475.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1588, allocations: 4 kB / 475.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1588, allocations: 7.969 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.1589, allocations: 4 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1589, allocations: 0 / 475.6 MB, free: 7.504 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 (2): * Single equations (assignments): 2 * 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.0003339/0.1593, allocations: 213.7 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.1595, allocations: 43.44 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1598, allocations: 116.6 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1598, allocations: 0 / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1598, allocations: 0 / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1599, allocations: 0 / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1603, allocations: 281.5 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1603, allocations: 0 / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.1604, allocations: 11.88 kB / 476.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1604, allocations: 4 kB / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1604, allocations: 0 / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1604, allocations: 4.031 kB / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1604, allocations: 0 / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.1608, allocations: 194.9 kB / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1609, allocations: 108.6 kB / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.161, allocations: 0 / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1611, allocations: 3.984 kB / 476.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1612, allocations: 8.031 kB / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1612, allocations: 0 / 476.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.1623, allocations: 0.6472 MB / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1623, allocations: 0 / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.1628, allocations: 20 kB / 477.2 MB, free: 5.766 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 (2): * Single equations (assignments): 2 * 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.001261/0.1641, allocations: 355.2 kB / 477.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1643, allocations: 27.92 kB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1644, allocations: 0 / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.1644, allocations: 11.98 kB / 477.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.1651, allocations: 25.89 kB / 477.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1672, allocations: 0.847 MB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.1679, allocations: 0.8223 MB / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.168, allocations: 8 kB / 479.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.1681, allocations: 11.42 kB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 1.993e-06/0.1681, allocations: 0 / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of Templates: time 0.007624/0.1757, allocations: 1.24 MB / 480.6 MB, free: 2.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches