Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 95.64 kB / 15.98 MB, free: 5.867 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.001313/0.001313, allocations: 194.6 kB / 16.9 MB, free: 5.738 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.759/1.759, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.4808/0.4808, allocations: 43.49 MB / 313.6 MB, free: 8.555 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.001417/0.001417, allocations: 72.45 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1947, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.005301/0.2001, allocations: 1.621 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.2011, allocations: 303.5 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.2011, allocations: 0 / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.202, allocations: 451.2 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.2025, allocations: 247.5 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.2029, allocations: 99.86 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.2033, allocations: 159.6 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2034, allocations: 12 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2036, allocations: 103.8 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.2039, allocations: 211.6 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.204, allocations: 4 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.2041, allocations: 20 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2043, allocations: 87.67 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2044, allocations: 99 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2049, allocations: 231 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.2049, allocations: 4 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2049, allocations: 0 / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.205, allocations: 0 / 443.6 MB, free: 11.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001112/0.2061, allocations: 0.6299 MB / 444.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.2062, allocations: 11.89 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.2063, allocations: 44.47 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2067, allocations: 296.1 kB / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2067, allocations: 384 / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2067, allocations: 384 / 444.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2071, allocations: 53.8 kB / 444.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2071, allocations: 0 / 444.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.2071, allocations: 4 kB / 444.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2071, allocations: 3.938 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.2073, allocations: 23.97 kB / 444.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.2079, allocations: 368.8 kB / 445 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.2081, allocations: 30.58 kB / 445.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.2082, allocations: 16.84 kB / 445.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.2082, allocations: 3.938 kB / 445.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2082, allocations: 30.56 kB / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2082, allocations: 4 kB / 445.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003692/0.2086, allocations: 101.1 kB / 445.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.2088, allocations: 51.41 kB / 445.3 MB, free: 9.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.21, allocations: 0.8535 MB / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.21, allocations: 25.7 kB / 446.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2103, allocations: 220.1 kB / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2103, allocations: 7.906 kB / 446.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.2104, allocations: 13.84 kB / 446.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.2106, allocations: 366.7 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.2107, allocations: 7.984 kB / 446.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.2107, allocations: 7.938 kB / 446.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2109, allocations: 24.84 kB / 446.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2109, allocations: 0 / 446.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.2111, allocations: 89.28 kB / 446.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2111, allocations: 4 kB / 446.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2111, allocations: 3.938 kB / 446.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2112, allocations: 0 / 446.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.2113, allocations: 7.984 kB / 446.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2113, allocations: 4 kB / 446.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.2114, allocations: 3.906 kB / 446.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2114, allocations: 4 kB / 446.9 MB, free: 7.594 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 (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.0003391/0.2117, allocations: 221.7 kB / 447.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.2118, allocations: 39.53 kB / 447.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.2121, allocations: 96.64 kB / 447.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2121, allocations: 0 / 447.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2121, allocations: 0 / 447.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2122, allocations: 0 / 447.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2126, allocations: 289.4 kB / 447.5 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2126, allocations: 4 kB / 447.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.2126, allocations: 4 kB / 447.5 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2126, allocations: 8.031 kB / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2127, allocations: 0 / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2127, allocations: 0 / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2127, allocations: 0 / 447.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.213, allocations: 190.8 kB / 447.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2131, allocations: 104.6 kB / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.2132, allocations: 4 kB / 447.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2133, allocations: 4.031 kB / 447.8 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.2133, allocations: 4 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2133, allocations: 7.938 kB / 447.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007466/0.2141, allocations: 0.6433 MB / 448.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2141, allocations: 0 / 448.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.2144, allocations: 20 kB / 448.5 MB, free: 5.875 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 (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.0009775/0.2153, allocations: 363.3 kB / 448.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.2155, allocations: 27.92 kB / 448.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2155, allocations: 0 / 448.9 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.2156, allocations: 4 kB / 448.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.216, allocations: 41.81 kB / 448.9 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2171, allocations: 0.8298 MB / 449.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2176, allocations: 0.8143 MB / 450.6 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.2176, allocations: 4 kB / 450.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.2176, allocations: 11.44 kB / 450.6 MB, free: 3.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2176, allocations: 0 / 450.6 MB, free: 3.75 MB / 382.1 MB Notification: Performance of Templates: time 0.004585/0.2222, allocations: 1.226 MB / 451.8 MB, free: 2.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches