Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 105.6 kB / 17.03 MB, free: 6.098 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.001454/0.001454, allocations: 196.1 kB / 17.96 MB, free: 5.195 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.641/1.641, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.3106/0.3106, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001964/0.001965, allocations: 74.38 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1529, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003355/0.1563, allocations: 1.694 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1575, allocations: 0.8 MB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1577, allocations: 0 / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.158, allocations: 47.81 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1583, allocations: 51.7 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1586, allocations: 91.75 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1588, allocations: 87.7 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1589, allocations: 16.22 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.159, allocations: 43.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.1591, allocations: 27.86 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1592, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1593, allocations: 43.97 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1594, allocations: 23.86 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.1595, allocations: 35.73 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1597, allocations: 107.6 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1597, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1597, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1597, allocations: 0 / 445 MB, free: 3.062 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.0006852/0.1604, allocations: 418.9 kB / 445.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1605, allocations: 11.89 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1605, allocations: 8.844 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1608, allocations: 217.1 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1609, allocations: 384 / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1609, allocations: 8.125 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1611, allocations: 53.67 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1611, allocations: 0 / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1611, allocations: 0 / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1612, allocations: 7.984 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.1612, allocations: 19.98 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1617, allocations: 288.7 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1619, allocations: 58.67 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.162, allocations: 24.78 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.162, allocations: 8 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1622, allocations: 63.39 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.1622, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.1627, allocations: 177.1 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1628, allocations: 51.41 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1629, allocations: 194.1 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1629, allocations: 29.7 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.163, allocations: 104.1 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.163, allocations: 27.69 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1631, allocations: 21.72 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.1632, allocations: 326.8 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.1632, allocations: 23.98 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.1633, allocations: 33.7 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/0.1634, allocations: 53.72 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1634, allocations: 0 / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001508/0.1636, allocations: 105.5 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1636, allocations: 4 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1636, allocations: 0 / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1636, allocations: 4 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1637, allocations: 20.3 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1637, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1638, allocations: 15.97 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1638, allocations: 4 kB / 447.4 MB, free: 0.4922 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 9.295e-05/0.1639, allocations: 129.8 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1639, allocations: 11.81 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.164, allocations: 12.72 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.164, allocations: 4 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.164, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.164, allocations: 3.938 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.1644, allocations: 399.2 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1645, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.1645, allocations: 8 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1645, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1645, allocations: 3.938 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1645, allocations: 3.938 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1645, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1648, allocations: 204.5 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.1649, allocations: 89 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1649, allocations: 7.938 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.165, allocations: 4.188 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.165, allocations: 7.984 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.165, allocations: 7.938 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1652, allocations: 135.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1652, allocations: 4 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1654, allocations: 27.89 kB / 448.4 MB, free: 15.33 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.001169/0.1666, allocations: 474.1 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1668, allocations: 63.95 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1668, allocations: 3.938 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.1669, allocations: 27.94 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1673, allocations: 27.97 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.1678, allocations: 215.3 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1682, allocations: 0.7042 MB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.1682, allocations: 25.16 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.1683, allocations: 15.44 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1683, allocations: 0 / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.005205/0.1735, allocations: 1.692 MB / 451.6 MB, free: 12.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches