Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008845/0.0008841, allocations: 171 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 86.41 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3938/0.3938, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004131, allocations: 20 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.5014, allocations: 87.29 MB / 0.5652 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5017, allocations: 79.94 kB / 0.5653 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.5195, allocations: 7.825 MB / 0.5729 GB, free: 6.852 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5195, allocations: 0 / 0.5729 GB, free: 6.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.519e-05/0.5196, allocations: 8 kB / 0.5729 GB, free: 6.844 MB / 394.7 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.0008484/0.5204, allocations: 0.6287 MB / 0.5735 GB, free: 6.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5205, allocations: 8.031 kB / 0.5735 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.5206, allocations: 47.94 kB / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.5211, allocations: 352.1 kB / 0.5739 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5211, allocations: 8.375 kB / 0.5739 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.5211, allocations: 8.359 kB / 0.5739 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5213, allocations: 62.22 kB / 0.574 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5213, allocations: 192 / 0.574 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5213, allocations: 3.938 kB / 0.574 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5214, allocations: 0 / 0.574 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5215, allocations: 31.97 kB / 0.574 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.5222, allocations: 452.6 kB / 0.5745 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.5224, allocations: 42.56 kB / 0.5745 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.5225, allocations: 28.94 kB / 0.5745 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.5225, allocations: 0 / 0.5745 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5226, allocations: 34.5 kB / 0.5746 GB, free: 5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.5226, allocations: 3.938 kB / 0.5746 GB, free: 4.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007293/0.5233, allocations: 252 kB / 0.5748 GB, free: 4.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.5234, allocations: 55.56 kB / 0.5749 GB, free: 4.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.5246, allocations: 0.8496 MB / 0.5757 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5247, allocations: 25.7 kB / 0.5757 GB, free: 3.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.5249, allocations: 224.1 kB / 0.5759 GB, free: 3.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5249, allocations: 15.75 kB / 0.5759 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5249, allocations: 4 kB / 0.5759 GB, free: 3.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5251, allocations: 362.7 kB / 0.5763 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.5252, allocations: 27.97 kB / 0.5763 GB, free: 3.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.5252, allocations: 23.98 kB / 0.5763 GB, free: 3.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5254, allocations: 64.83 kB / 0.5764 GB, free: 3.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5254, allocations: 0 / 0.5764 GB, free: 3.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002602/0.5257, allocations: 129.1 kB / 0.5765 GB, free: 2.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5257, allocations: 7.938 kB / 0.5765 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5257, allocations: 4 kB / 0.5765 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5257, allocations: 1.688 kB / 0.5765 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.5258, allocations: 12 kB / 0.5766 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5258, allocations: 0 / 0.5766 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.5259, allocations: 11.98 kB / 0.5766 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.5259, allocations: 0 / 0.5766 GB, free: 2.895 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.5262, allocations: 225.7 kB / 0.5768 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.5263, allocations: 47.44 kB / 0.5768 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.5266, allocations: 145.1 kB / 0.577 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5267, allocations: 8.688 kB / 0.577 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5267, allocations: 0 / 0.577 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5267, allocations: 0 / 0.577 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.5276, allocations: 0.6047 MB / 0.5776 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5276, allocations: 0 / 0.5776 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.5277, allocations: 12 kB / 0.5776 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5277, allocations: 0 / 0.5776 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5277, allocations: 384 / 0.5776 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5277, allocations: 7.938 kB / 0.5776 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5277, allocations: 7.938 kB / 0.5776 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.5281, allocations: 230.9 kB / 0.5778 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.5283, allocations: 164.5 kB / 0.578 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5283, allocations: 8 kB / 0.578 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.5284, allocations: 7.984 kB / 0.578 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.5285, allocations: 11.94 kB / 0.578 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5285, allocations: 288 / 0.578 GB, free: 1.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000774/0.5293, allocations: 0.6432 MB / 0.5786 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5293, allocations: 0 / 0.5786 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.5296, allocations: 56 kB / 0.5787 GB, free: 0.6289 MB / 394.7 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 (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.001002/0.5306, allocations: 407.2 kB / 0.5791 GB, free: 332 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5308, allocations: 63.84 kB / 0.5791 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5308, allocations: 0 / 0.5791 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.5309, allocations: 39.97 kB / 0.5792 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.5313, allocations: 18.31 kB / 0.5792 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.5327, allocations: 0.9231 MB / 0.5801 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.5332, allocations: 0.8223 MB / 0.5809 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.824e-05/0.5333, allocations: 44.23 kB / 0.5809 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.5334, allocations: 27.42 kB / 0.581 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5334, allocations: 3.938 kB / 0.581 GB, free: 14.33 MB / 410.7 MB Notification: Performance of Templates: time 0.006275/0.5397, allocations: 2.438 MB / 0.5833 GB, free: 11.89 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches