Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001251/0.001252, allocations: 187 kB / 19.33 MB, free: 3.641 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.468/1.468, allocations: 222.9 MB / 243 MB, free: 15.09 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.2563/0.2563, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.92 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1476, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003247/0.1509, allocations: 1.697 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1525, allocations: 0.8847 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.1525, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1529, allocations: 43.75 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1531, allocations: 51.77 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1535, allocations: 119.5 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1536, allocations: 87.77 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1538, allocations: 16.2 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.1538, allocations: 39.8 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.1539, allocations: 23.86 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1539, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1541, allocations: 47.97 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1542, allocations: 23.92 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.1543, allocations: 39.72 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1545, allocations: 115.6 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1545, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1545, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1545, allocations: 0 / 473.9 MB, free: 10.44 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005031/0.155, allocations: 418.9 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.155, allocations: 8.031 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1551, allocations: 12.83 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1554, allocations: 210.7 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1554, allocations: 4.375 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1554, allocations: 8.125 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1556, allocations: 53.61 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1556, allocations: 3.984 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1556, allocations: 8 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1556, allocations: 0 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.1557, allocations: 15.98 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.1561, allocations: 292.8 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1562, allocations: 58.62 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.1563, allocations: 20.84 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1563, allocations: 0 / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.1565, allocations: 71.39 kB / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1565, allocations: 0 / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005556/0.157, allocations: 177.3 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1571, allocations: 55.39 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1573, allocations: 195.3 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1573, allocations: 33.7 kB / 475.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.1573, allocations: 104.1 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1574, allocations: 19.72 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1574, allocations: 33.7 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1576, allocations: 330.7 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.1576, allocations: 19.98 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.1577, allocations: 37.66 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1578, allocations: 53.7 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1578, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.158, allocations: 109.5 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.158, allocations: 7.281 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.158, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.158, allocations: 0 / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.1581, allocations: 16 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1581, allocations: 160 / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1582, allocations: 11.92 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1582, allocations: 3.984 kB / 476.2 MB, free: 7.859 MB / 350.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.1583, allocations: 133.8 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1583, allocations: 15.8 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1584, allocations: 13.41 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1584, allocations: 4 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1584, allocations: 0 / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1584, allocations: 3.938 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.1588, allocations: 391.3 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1589, allocations: 3.984 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.1589, allocations: 8 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1589, allocations: 4.031 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1589, allocations: 3.938 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1589, allocations: 4 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1589, allocations: 0 / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1591, allocations: 208.1 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1592, allocations: 92.98 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1592, allocations: 11.94 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1593, allocations: 4 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1593, allocations: 11.92 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1594, allocations: 0 / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1595, allocations: 151.9 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1597, allocations: 24 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001089/0.1608, allocations: 462.4 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.161, allocations: 67.89 kB / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.161, allocations: 0 / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1611, allocations: 31.92 kB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1614, allocations: 24.11 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.1619, allocations: 235.1 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1622, allocations: 0.708 MB / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.1622, allocations: 21.17 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1623, allocations: 15.44 kB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1623, allocations: 3.938 kB / 478.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Templates: time 0.004337/0.1666, allocations: 1.704 MB / 480.6 MB, free: 3.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches