Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008665/0.008665, allocations: 100 kB / 15.87 MB, free: 6.309 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.001557/0.001556, allocations: 195 kB / 16.79 MB, free: 6.238 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.615/1.615, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.4131/0.4131, allocations: 43.5 MB / 313.5 MB, free: 8.305 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.002218/0.002218, allocations: 78.88 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2063, allocations: 57.79 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.004639/0.211, allocations: 1.656 MB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.2119, allocations: 331.6 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.212, allocations: 4 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.2128, allocations: 439.2 kB / 442.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.2132, allocations: 247.6 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.2136, allocations: 111.8 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.2139, allocations: 143.7 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2141, allocations: 28.16 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2143, allocations: 95.8 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.2146, allocations: 207.5 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2146, allocations: 0 / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2147, allocations: 35.98 kB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.2149, allocations: 83.61 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.215, allocations: 99 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.2154, allocations: 243.2 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.2154, allocations: 4 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2154, allocations: 0 / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2155, allocations: 0 / 443.5 MB, free: 10.88 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.001081/0.2165, allocations: 0.6336 MB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.2166, allocations: 8.031 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.2167, allocations: 40.47 kB / 444.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.2171, allocations: 292.2 kB / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2172, allocations: 4.312 kB / 444.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.2172, allocations: 4.375 kB / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2174, allocations: 57.62 kB / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.2174, allocations: 0 / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2175, allocations: 0 / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2175, allocations: 0 / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2176, allocations: 23.98 kB / 444.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.2183, allocations: 388.6 kB / 444.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2185, allocations: 46.55 kB / 445 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.2186, allocations: 16.86 kB / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.2186, allocations: 0 / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2187, allocations: 30.56 kB / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2187, allocations: 0 / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007022/0.2194, allocations: 232 kB / 445.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2195, allocations: 51.41 kB / 445.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.2203, allocations: 0.8613 MB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2204, allocations: 29.64 kB / 446.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.2206, allocations: 216.1 kB / 446.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.2206, allocations: 15.8 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.2207, allocations: 17.72 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.221, allocations: 362.8 kB / 446.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.2211, allocations: 15.98 kB / 446.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/0.2212, allocations: 19.92 kB / 446.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2213, allocations: 48.83 kB / 446.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2213, allocations: 0 / 446.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002297/0.2215, allocations: 117.1 kB / 447 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2216, allocations: 4 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2216, allocations: 0 / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2216, allocations: 0 / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.2217, allocations: 20.2 kB / 447 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2217, allocations: 4 kB / 447 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.2218, allocations: 12.11 kB / 447 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.2218, allocations: 4 kB / 447 MB, free: 7.121 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.0002082/0.222, allocations: 209.8 kB / 447.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.2221, allocations: 43.53 kB / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.2224, allocations: 148.9 kB / 447.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2224, allocations: 0 / 447.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2224, allocations: 0 / 447.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2224, allocations: 3.938 kB / 447.4 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.2229, allocations: 458.4 kB / 447.9 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2229, allocations: 0 / 447.9 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.223, allocations: 8 kB / 447.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.223, allocations: 3.984 kB / 447.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.223, allocations: 7.938 kB / 447.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.223, allocations: 0 / 447.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.223, allocations: 0 / 447.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2233, allocations: 211 kB / 448.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.2234, allocations: 108.5 kB / 448.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2234, allocations: 7.938 kB / 448.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.2235, allocations: 7.984 kB / 448.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2236, allocations: 4 kB / 448.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2236, allocations: 3.938 kB / 448.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006956/0.2243, allocations: 0.6511 MB / 448.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2243, allocations: 0 / 448.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.2246, allocations: 20 kB / 448.9 MB, free: 5.145 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.001082/0.2257, allocations: 412.1 kB / 449.3 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2259, allocations: 43.97 kB / 449.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2259, allocations: 0 / 449.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.226, allocations: 27.92 kB / 449.4 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.2265, allocations: 25.95 kB / 449.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.228, allocations: 0.8593 MB / 450.3 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.2285, allocations: 0.8223 MB / 451.1 MB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.2285, allocations: 7.984 kB / 451.1 MB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.2286, allocations: 11.44 kB / 451.1 MB, free: 2.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2286, allocations: 0 / 451.1 MB, free: 2.914 MB / 382.1 MB Notification: Performance of Templates: time 0.006204/0.2348, allocations: 1.401 MB / 452.5 MB, free: 1.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches