Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001614/0.001613, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 65.33 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1801, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005223/0.1853, allocations: 2.016 MB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1877, allocations: 0.9664 MB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1878, allocations: 7.938 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1884, allocations: 47.69 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1888, allocations: 71.56 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1892, allocations: 143.3 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.1896, allocations: 199.4 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1898, allocations: 33.64 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.19, allocations: 83.62 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1901, allocations: 83.61 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1902, allocations: 12 kB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1903, allocations: 43.98 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1904, allocations: 39.78 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1905, allocations: 67.59 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1909, allocations: 199.3 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1909, allocations: 0 / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1909, allocations: 0 / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.191, allocations: 4 kB / 474.7 MB, free: 9.648 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0012/0.1922, allocations: 0.5526 MB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1922, allocations: 8.031 kB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.1923, allocations: 24.66 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.1928, allocations: 240.9 kB / 475.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1929, allocations: 4.375 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.1929, allocations: 16.12 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.1934, allocations: 152.1 kB / 475.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1934, allocations: 0 / 475.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1934, allocations: 7.938 kB / 475.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1934, allocations: 0 / 475.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.1939, allocations: 119.8 kB / 475.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.1946, allocations: 0.5398 MB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.1953, allocations: 166.5 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1956, allocations: 72.8 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1956, allocations: 4 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.196, allocations: 135.2 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.196, allocations: 0 / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008497/0.1969, allocations: 253.3 kB / 477 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.197, allocations: 63.34 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1972, allocations: 223.1 kB / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1973, allocations: 33.7 kB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1974, allocations: 120.3 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.1974, allocations: 35.59 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.1975, allocations: 41.7 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1977, allocations: 338.8 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1979, allocations: 63.94 kB / 477.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.1982, allocations: 104.2 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.1987, allocations: 193.8 kB / 478.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1987, allocations: 4 kB / 478.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005898/0.1993, allocations: 247 kB / 478.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.1993, allocations: 33.7 kB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1993, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1994, allocations: 8.125 kB / 478.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1995, allocations: 39.84 kB / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1995, allocations: 0 / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1997, allocations: 35.81 kB / 478.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1998, allocations: 7.984 kB / 478.5 MB, free: 5.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001351/0.1999, allocations: 137.8 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1999, allocations: 15.81 kB / 478.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.2, allocations: 29.39 kB / 478.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2, allocations: 3.938 kB / 478.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2, allocations: 0 / 478.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2, allocations: 0 / 478.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2002, allocations: 241.4 kB / 478.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2002, allocations: 7.938 kB / 479 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2004, allocations: 19.98 kB / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2004, allocations: 0 / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.2004, allocations: 7.984 kB / 479 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2004, allocations: 3.938 kB / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2004, allocations: 4 kB / 479 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.2012, allocations: 304.7 kB / 479.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.2013, allocations: 93.02 kB / 479.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2013, allocations: 4 kB / 479.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2015, allocations: 23.91 kB / 479.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.2016, allocations: 19.97 kB / 479.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2016, allocations: 4 kB / 479.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2018, allocations: 168.6 kB / 479.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2018, allocations: 0 / 479.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.202, allocations: 32 kB / 479.6 MB, free: 4.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001156/0.2032, allocations: 418.1 kB / 480 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.2038, allocations: 215.1 kB / 480.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.2038, allocations: 4 kB / 480.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2041, allocations: 84.12 kB / 480.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2044, allocations: 42.44 kB / 480.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.2051, allocations: 319.9 kB / 480.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2055, allocations: 0.7319 MB / 481.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.732e-05/0.2056, allocations: 25.52 kB / 481.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.2056, allocations: 23.44 kB / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2056, allocations: 0 / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Templates: time 0.006779/0.2124, allocations: 2.808 MB / 484.3 MB, free: 15.79 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches