Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 102.2 kB / 15.98 MB, free: 6.352 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.001219/0.001219, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.694/1.694, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.4385/0.4385, allocations: 43.5 MB / 313.6 MB, free: 8.547 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.00157/0.00157, allocations: 70.56 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1954, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.004999/0.2004, allocations: 1.614 MB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2022, allocations: 0.9142 MB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2023, allocations: 0 / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.2027, allocations: 19.92 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.203, allocations: 35.84 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2033, allocations: 59.92 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.2035, allocations: 67.77 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2037, allocations: 11.98 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.2038, allocations: 19.92 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.204, allocations: 35.84 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.204, allocations: 0 / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2041, allocations: 47.98 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.2042, allocations: 7.984 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.2043, allocations: 23.8 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2045, allocations: 92 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2045, allocations: 4 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2045, allocations: 0 / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2045, allocations: 0 / 443 MB, free: 11.76 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.0006838/0.2052, allocations: 382.6 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.2053, allocations: 11.89 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.2054, allocations: 4.938 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.2056, allocations: 192.2 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2057, allocations: 8.359 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.2057, allocations: 8.281 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.2059, allocations: 67.47 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2059, allocations: 0 / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.206, allocations: 4 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.206, allocations: 0 / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.2061, allocations: 15.98 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.2066, allocations: 272.9 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.2069, allocations: 54.44 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.2069, allocations: 16.94 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.207, allocations: 0 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.207, allocations: 30.56 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.207, allocations: 0 / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007285/0.2078, allocations: 141.7 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.2079, allocations: 77.11 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2081, allocations: 129.8 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2081, allocations: 25.7 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.2082, allocations: 99.97 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.2082, allocations: 15.81 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.2083, allocations: 21.72 kB / 444.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2084, allocations: 318.8 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.2085, allocations: 23.92 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.2086, allocations: 29.7 kB / 444.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2087, allocations: 52.77 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2087, allocations: 0 / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/0.2089, allocations: 81.86 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.209, allocations: 8 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.209, allocations: 0 / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.209, allocations: 3.984 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.2091, allocations: 11.98 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2091, allocations: 4 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.2091, allocations: 0 / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2092, allocations: 4 kB / 445 MB, free: 9.445 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.0001218/0.2093, allocations: 129.8 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2093, allocations: 7.938 kB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.2096, allocations: 85.62 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2096, allocations: 0 / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2096, allocations: 0 / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2096, allocations: 0 / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2101, allocations: 350.4 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2101, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.2102, allocations: 11.98 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2102, allocations: 4 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2102, allocations: 4 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2102, allocations: 3.938 kB / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2102, allocations: 0 / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2105, allocations: 175.5 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.2105, allocations: 81.2 kB / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2106, allocations: 8 kB / 445.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.2107, allocations: 3.938 kB / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.2107, allocations: 15.86 kB / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.2107, allocations: 0 / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.2109, allocations: 103.3 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2109, allocations: 0 / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.2112, allocations: 31.98 kB / 446 MB, free: 8.344 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.001289/0.2125, allocations: 434.5 kB / 446.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.2128, allocations: 47.97 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2128, allocations: 4 kB / 446.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.2129, allocations: 27.92 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.2133, allocations: 39.69 kB / 446.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.2139, allocations: 165.6 kB / 446.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.2144, allocations: 0.6885 MB / 447.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.2145, allocations: 7.984 kB / 447.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.2146, allocations: 19.44 kB / 447.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2146, allocations: 0 / 447.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of Templates: time 0.005926/0.2205, allocations: 1.319 MB / 448.8 MB, free: 5.582 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches