Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009108, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.0009282, allocations: 185.5 kB / 16.92 MB, free: 6.934 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.921/1.921, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4679/0.4679, allocations: 43.57 MB / 315 MB, free: 8.816 MB / 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.001095/0.001095, allocations: 15.98 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2132, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002947/0.2163, allocations: 1.329 MB / 444.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.2173, allocations: 339.6 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.2173, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.2183, allocations: 447.2 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.2187, allocations: 239.6 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.2192, allocations: 147.8 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.2196, allocations: 159.6 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2198, allocations: 24.44 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2199, allocations: 103.8 kB / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.2203, allocations: 199.6 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2203, allocations: 0 / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2204, allocations: 35.98 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2206, allocations: 83.69 kB / 446.5 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2207, allocations: 120.7 kB / 446.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2211, allocations: 242.9 kB / 446.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.2211, allocations: 4 kB / 446.9 MB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2211, allocations: 3.938 kB / 446.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2211, allocations: 0 / 446.9 MB, free: 9.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009188/0.2221, allocations: 0.5833 MB / 447.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.2221, allocations: 11.97 kB / 447.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.2222, allocations: 44.47 kB / 447.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.2227, allocations: 296.1 kB / 447.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2227, allocations: 4.375 kB / 447.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.2228, allocations: 12.34 kB / 447.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.223, allocations: 53.62 kB / 447.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.223, allocations: 0 / 447.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.223, allocations: 8 kB / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.223, allocations: 7.938 kB / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2232, allocations: 35.97 kB / 447.9 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.2239, allocations: 392.6 kB / 448.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.2242, allocations: 50.5 kB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.2243, allocations: 16.86 kB / 448.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.2243, allocations: 12.02 kB / 448.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2243, allocations: 34.56 kB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2243, allocations: 0 / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000873/0.2252, allocations: 252 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2253, allocations: 55.41 kB / 448.7 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.2265, allocations: 0.8613 MB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2265, allocations: 25.7 kB / 449.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.2268, allocations: 216.1 kB / 449.8 MB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.2268, allocations: 23.8 kB / 449.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.2269, allocations: 9.719 kB / 449.8 MB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.2272, allocations: 358.8 kB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2273, allocations: 27.97 kB / 450.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.2274, allocations: 23.98 kB / 450.2 MB, free: 5.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2276, allocations: 64.83 kB / 450.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2276, allocations: 0 / 450.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003086/0.2279, allocations: 133 kB / 450.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2279, allocations: 7.984 kB / 450.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2279, allocations: 4 kB / 450.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.228, allocations: 0 / 450.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.2281, allocations: 12 kB / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2281, allocations: 0 / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.2282, allocations: 11.92 kB / 450.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.2282, allocations: 0 / 450.5 MB, free: 5.398 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 (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 0.0002709/0.2285, allocations: 225.7 kB / 450.7 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.2285, allocations: 43.42 kB / 450.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.229, allocations: 145 kB / 450.9 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.229, allocations: 4 kB / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.229, allocations: 3.984 kB / 450.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.229, allocations: 8.25 kB / 450.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.2298, allocations: 470.4 kB / 451.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2298, allocations: 0 / 451.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.2299, allocations: 23.92 kB / 451.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2299, allocations: 4 kB / 451.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.23, allocations: 3.938 kB / 451.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.23, allocations: 0 / 451.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.23, allocations: 3.938 kB / 451.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.2304, allocations: 223 kB / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2305, allocations: 112.6 kB / 451.7 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.2306, allocations: 3.938 kB / 451.7 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2307, allocations: 11.98 kB / 451.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2307, allocations: 0 / 451.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2307, allocations: 0 / 451.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008604/0.2316, allocations: 0.6511 MB / 452.4 MB, free: 3.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2316, allocations: 4 kB / 452.4 MB, free: 3.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000369/0.232, allocations: 20 kB / 452.4 MB, free: 3.359 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 (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.001416/0.2334, allocations: 423.3 kB / 452.8 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.2337, allocations: 59.97 kB / 452.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2337, allocations: 0 / 452.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2338, allocations: 31.98 kB / 452.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.2344, allocations: 25.95 kB / 452.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2363, allocations: 0.8762 MB / 453.8 MB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.237, allocations: 0.8223 MB / 454.6 MB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.2371, allocations: 15.98 kB / 454.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.2371, allocations: 19.44 kB / 454.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2371, allocations: 0 / 454.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of Templates: time 0.2431/0.4802, allocations: 1.337 MB / 456 MB, free: 45.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches