Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.001371, allocations: 180 kB / 16.41 MB, free: 5.727 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.742/1.742, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007906/0.0007907, allocations: 97.16 kB / 270.9 MB, free: 8.344 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.4481/0.4481, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006665, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1999, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003697/0.2037, allocations: 1.356 MB / 491.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2049, allocations: 343.8 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.205, allocations: 0 / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.2053, allocations: 23.86 kB / 492 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.2057, allocations: 35.84 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.2065, allocations: 147.7 kB / 492.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.2068, allocations: 71.77 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2069, allocations: 20.2 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2071, allocations: 27.86 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2072, allocations: 39.77 kB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.2072, allocations: 4 kB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.2075, allocations: 43.98 kB / 492.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.2075, allocations: 19.91 kB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.2076, allocations: 33.7 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.2079, allocations: 80.16 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2079, allocations: 3.938 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2079, allocations: 0 / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2079, allocations: 0 / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001033/0.209, allocations: 415 kB / 492.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.2091, allocations: 15.97 kB / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.2092, allocations: 15.86 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2095, allocations: 194.5 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2096, allocations: 4 kB / 493.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2096, allocations: 0 / 493.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.2101, allocations: 115.3 kB / 493.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2101, allocations: 0 / 493.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2102, allocations: 4 kB / 493.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2102, allocations: 4 kB / 493.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.2108, allocations: 95.88 kB / 493.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.2117, allocations: 336.8 kB / 493.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.2122, allocations: 90.47 kB / 493.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.2126, allocations: 52.94 kB / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.2126, allocations: 4 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.2127, allocations: 34.56 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.475e-06/0.2127, allocations: 0 / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.003242/0.216, allocations: 496.8 kB / 494.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.2161, allocations: 81.11 kB / 494.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.2163, allocations: 145.6 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.2164, allocations: 29.7 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2165, allocations: 92.12 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2165, allocations: 31.55 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.2166, allocations: 7.938 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.2168, allocations: 318.8 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.2174, allocations: 95.91 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.218, allocations: 109.6 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.2187, allocations: 103.9 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2187, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001325/0.22, allocations: 245.4 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.2201, allocations: 4 kB / 495.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2201, allocations: 0 / 495.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.2201, allocations: 3.984 kB / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.2205, allocations: 48.33 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.2206, allocations: 4 kB / 495.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.2209, allocations: 31.97 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.221, allocations: 7.938 kB / 495.6 MB, free: 5.566 MB / 378.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 (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.000208/0.2212, allocations: 137.8 kB / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.2213, allocations: 11.86 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.2227, allocations: 254.5 kB / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2227, allocations: 4 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2227, allocations: 0 / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2227, allocations: 0 / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.2246, allocations: 0.5257 MB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2246, allocations: 0 / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.225, allocations: 47.95 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.225, allocations: 0 / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.225, allocations: 4 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.225, allocations: 0 / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.225, allocations: 0 / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2264, allocations: 343.1 kB / 496.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.2265, allocations: 89 kB / 497 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.2266, allocations: 8 kB / 497 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.227, allocations: 27.97 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.2271, allocations: 11.98 kB / 497.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2271, allocations: 4 kB / 497.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.2273, allocations: 107.2 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2273, allocations: 4 kB / 497.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.2278, allocations: 32 kB / 497.2 MB, free: 3.871 MB / 378.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 (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.001769/0.2296, allocations: 452.2 kB / 497.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.2309, allocations: 207.8 kB / 497.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2309, allocations: 3.938 kB / 497.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.2316, allocations: 111.9 kB / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.2322, allocations: 15.95 kB / 498 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.2331, allocations: 250.9 kB / 498.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.2336, allocations: 0.7043 MB / 498.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2337, allocations: 19.42 kB / 499 MB, free: 2.109 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2338, allocations: 0 / 499 MB, free: 2.109 MB / 378.7 MB Notification: Performance of Templates: time 0.2999/0.5337, allocations: 2.176 MB / 0.4894 GB, free: 42.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches