Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009823/0.0009823, allocations: 175.7 kB / 16.58 MB, free: 6.84 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.539/1.539, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.5345/0.5345, allocations: 43.57 MB / 314.6 MB, free: 9.008 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.0005405/0.0005405, allocations: 12 kB / 383.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1954, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002898/0.1984, allocations: 1.279 MB / 444.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.1991, allocations: 299.8 kB / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.1992, allocations: 0 / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1997, allocations: 95.8 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1999, allocations: 63.8 kB / 444.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.2002, allocations: 79.84 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.2004, allocations: 71.8 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2006, allocations: 20.17 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.2007, allocations: 27.91 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2008, allocations: 51.81 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2009, allocations: 0 / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.201, allocations: 24 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.201, allocations: 27.91 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.2011, allocations: 37.64 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2013, allocations: 80.09 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.2013, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.2013, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2013, allocations: 7.938 kB / 445 MB, free: 11.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006598/0.202, allocations: 398.9 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.2021, allocations: 12.02 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.2021, allocations: 19.77 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2024, allocations: 195.6 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2025, allocations: 3.938 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.2025, allocations: 8 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2027, allocations: 83.27 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2028, allocations: 0 / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2028, allocations: 11.97 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2028, allocations: 4 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2029, allocations: 39.92 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.2036, allocations: 397 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.2039, allocations: 89.16 kB / 446.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.204, allocations: 37.8 kB / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.204, allocations: 0 / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.2041, allocations: 38.55 kB / 446.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2041, allocations: 0 / 446.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008755/0.205, allocations: 260.7 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.2051, allocations: 85.09 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.2053, allocations: 230.3 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2054, allocations: 33.7 kB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2055, allocations: 108 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.2055, allocations: 31.55 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.2056, allocations: 0 / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2058, allocations: 326.8 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.2059, allocations: 31.97 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.206, allocations: 61.62 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.2061, allocations: 35.98 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2061, allocations: 0 / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000255/0.2064, allocations: 141.4 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2064, allocations: 4 kB / 447.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2064, allocations: 4 kB / 447.6 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2064, allocations: 0 / 447.6 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.2065, allocations: 23.92 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2065, allocations: 4 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.2066, allocations: 4 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2066, allocations: 4.188 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001557/0.2068, allocations: 133.8 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.2068, allocations: 19.8 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.2072, allocations: 158.8 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2072, allocations: 3.938 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.2073, allocations: 11.98 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2073, allocations: 0 / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/0.208, allocations: 0.5063 MB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.208, allocations: 8.016 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.2081, allocations: 24 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2081, allocations: 0.6094 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2081, allocations: 3.984 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2081, allocations: 4 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2082, allocations: 0 / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.2085, allocations: 307.4 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.2086, allocations: 93 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2086, allocations: 4 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.2087, allocations: 4 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.2088, allocations: 23.91 kB / 448.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2088, allocations: 4 kB / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.209, allocations: 172.2 kB / 449.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.209, allocations: 0 / 449.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.2093, allocations: 20 kB / 449.1 MB, free: 6.559 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001057/0.2103, allocations: 411.2 kB / 449.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.2107, allocations: 91.89 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2107, allocations: 0 / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2108, allocations: 51.91 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2112, allocations: 23.94 kB / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2119, allocations: 311.7 kB / 450 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.2123, allocations: 0.716 MB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.2124, allocations: 28.39 kB / 450.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.2124, allocations: 11.44 kB / 450.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2124, allocations: 0 / 450.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004396/0.2168, allocations: 1.198 MB / 451.9 MB, free: 3.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches