Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 104.1 kB / 15.88 MB, free: 4 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.001104/0.001104, allocations: 193.2 kB / 16.79 MB, free: 6.793 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.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.4068/0.4068, allocations: 43.49 MB / 313.5 MB, free: 8.301 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.001484/0.001484, allocations: 64.47 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1963, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.005509/0.2018, allocations: 1.614 MB / 441.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2029, allocations: 311.5 kB / 441.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.203, allocations: 4 kB / 441.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.2034, allocations: 67.83 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2036, allocations: 51.88 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.204, allocations: 75.86 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.2042, allocations: 63.83 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2043, allocations: 15.97 kB / 442 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.2044, allocations: 27.86 kB / 442 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2045, allocations: 51.81 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2046, allocations: 0 / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2047, allocations: 35.98 kB / 442.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.2048, allocations: 19.92 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.2048, allocations: 23.81 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.2051, allocations: 87.94 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2051, allocations: 3.984 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2051, allocations: 0 / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2051, allocations: 0 / 442.3 MB, free: 12.16 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.0006112/0.2057, allocations: 403 kB / 442.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2058, allocations: 8.031 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.2058, allocations: 8.844 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2061, allocations: 200.1 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2061, allocations: 4.375 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2061, allocations: 4.359 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2063, allocations: 49.81 kB / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2063, allocations: 0 / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2063, allocations: 0 / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2063, allocations: 0 / 442.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.2064, allocations: 27.92 kB / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.2068, allocations: 288.8 kB / 443.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.2071, allocations: 38.56 kB / 443.3 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.2071, allocations: 16.94 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2072, allocations: 0 / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2072, allocations: 42.5 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2072, allocations: 0 / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006056/0.2078, allocations: 145.2 kB / 443.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2079, allocations: 55.34 kB / 443.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.2081, allocations: 202.2 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2081, allocations: 25.7 kB / 443.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.2082, allocations: 104.1 kB / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.2082, allocations: 23.7 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.2083, allocations: 13.72 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2084, allocations: 326.8 kB / 444.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.2085, allocations: 23.92 kB / 444.2 MB, free: 9.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.2086, allocations: 15.98 kB / 444.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.2087, allocations: 40.84 kB / 444.3 MB, free: 9.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2087, allocations: 4 kB / 444.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002183/0.2089, allocations: 85.56 kB / 444.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.209, allocations: 7.938 kB / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.209, allocations: 0 / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.209, allocations: 4 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.2091, allocations: 8 kB / 444.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2091, allocations: 3.984 kB / 444.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.2091, allocations: 4 kB / 444.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.2091, allocations: 4 kB / 444.4 MB, free: 9.789 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.0001114/0.2092, allocations: 133.8 kB / 444.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.2093, allocations: 7.906 kB / 444.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.2095, allocations: 97.89 kB / 444.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2095, allocations: 3.938 kB / 444.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2096, allocations: 0 / 444.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2096, allocations: 4.312 kB / 444.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.21, allocations: 354.5 kB / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.21, allocations: 4 kB / 445 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.2101, allocations: 8 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2101, allocations: 3.938 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2101, allocations: 3.984 kB / 445 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2101, allocations: 3.938 kB / 445 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2101, allocations: 4 kB / 445 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.2104, allocations: 183.3 kB / 445.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.2105, allocations: 81.3 kB / 445.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.2105, allocations: 4 kB / 445.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.2106, allocations: 11.92 kB / 445.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2106, allocations: 4 kB / 445.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2106, allocations: 3.984 kB / 445.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.2108, allocations: 168 kB / 445.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2108, allocations: 0 / 445.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.2111, allocations: 15.98 kB / 445.5 MB, free: 8.605 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.001032/0.2121, allocations: 409.9 kB / 445.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.2123, allocations: 43.91 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2123, allocations: 0 / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.2124, allocations: 31.97 kB / 445.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.2128, allocations: 12 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.2133, allocations: 235.8 kB / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.2139, allocations: 0.7043 MB / 446.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.2139, allocations: 8 kB / 446.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.214, allocations: 11.44 kB / 446.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.214, allocations: 0 / 446.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of Templates: time 0.003841/0.2178, allocations: 1.062 MB / 448 MB, free: 6.078 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches