Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001447/0.001447, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.87/1.87, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2597/0.2597, allocations: 43.53 MB / 313.9 MB, free: 0.5117 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.001538/0.001538, allocations: 70.09 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 57.79 MB / 440.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003312/0.1573, allocations: 1.693 MB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1586, allocations: 0.8 MB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.1587, allocations: 0 / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1591, allocations: 51.77 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1593, allocations: 55.75 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1596, allocations: 83.7 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1597, allocations: 99.69 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1599, allocations: 8.516 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.16, allocations: 39.8 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.16, allocations: 43.77 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1601, allocations: 4 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.1602, allocations: 32 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1602, allocations: 31.91 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.1603, allocations: 35.73 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1605, allocations: 119.6 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1605, allocations: 0 / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1605, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1606, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.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.0005244/0.1611, allocations: 426.8 kB / 444 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1611, allocations: 11.89 kB / 444 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.1612, allocations: 16.84 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1614, allocations: 211.9 kB / 444.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1614, allocations: 384 / 444.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1614, allocations: 12.06 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1616, allocations: 53.67 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1616, allocations: 4 kB / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1616, allocations: 0 / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1616, allocations: 0 / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1617, allocations: 27.92 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.162, allocations: 292.9 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1622, allocations: 54.69 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.1623, allocations: 32.78 kB / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1623, allocations: 0 / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.1625, allocations: 67.33 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1625, allocations: 0 / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005246/0.163, allocations: 177.1 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1631, allocations: 55.41 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1632, allocations: 226.6 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1633, allocations: 29.7 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.1633, allocations: 108.1 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1633, allocations: 23.66 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1634, allocations: 25.7 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.1634, allocations: 330.8 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.1635, allocations: 19.98 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.1635, allocations: 33.72 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.1636, allocations: 61.64 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1637, allocations: 0 / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001492/0.1638, allocations: 105.5 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1638, allocations: 4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1638, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1639, allocations: 7.938 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1639, allocations: 16.03 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.164, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.164, allocations: 15.92 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.164, allocations: 4 kB / 446 MB, free: 1.121 MB / 318.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 7.162e-05/0.1641, allocations: 141.3 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.1641, allocations: 7.906 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1642, allocations: 17.41 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1642, allocations: 0 / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1642, allocations: 7.938 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1642, allocations: 3.938 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1645, allocations: 399.2 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1645, allocations: 4 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.1645, allocations: 7.938 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1646, allocations: 4 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1646, allocations: 4.312 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1646, allocations: 0 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1646, allocations: 12.2 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1647, allocations: 200.3 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1648, allocations: 92.86 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1648, allocations: 7.938 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.1649, allocations: 4 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1649, allocations: 3.984 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1649, allocations: 8 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1651, allocations: 167.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1651, allocations: 0 / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1653, allocations: 31.92 kB / 447.1 MB, free: 15.91 MB / 334.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.001052/0.1664, allocations: 475.7 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1666, allocations: 55.91 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1666, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.1667, allocations: 27.98 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1671, allocations: 25.19 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.1676, allocations: 255.1 kB / 447.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1679, allocations: 0.7158 MB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.168, allocations: 12.89 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.168, allocations: 19.42 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.168, allocations: 0 / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Templates: time 0.004967/0.173, allocations: 1.708 MB / 450.4 MB, free: 12.68 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches