Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001066/0.001066, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.306/1.306, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.1989/0.1989, allocations: 44.18 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.97 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002875/0.1062, allocations: 1.614 MB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1076, allocations: 1.004 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1077, allocations: 0 / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1079, allocations: 15.94 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1081, allocations: 35.91 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1084, allocations: 103.7 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1085, allocations: 55.84 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.1086, allocations: 23.97 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.1086, allocations: 19.92 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1088, allocations: 23.86 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1088, allocations: 4 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1089, allocations: 63.83 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.109, allocations: 11.94 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.109, allocations: 19.86 kB / 472.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1091, allocations: 67.91 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004378/0.1096, allocations: 379.5 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1097, allocations: 8.031 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.1097, allocations: 8.844 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1099, allocations: 190.8 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1099, allocations: 4.312 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1099, allocations: 8.375 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1101, allocations: 59.53 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1101, allocations: 4 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1101, allocations: 0 / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1102, allocations: 4 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.1102, allocations: 27.97 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1106, allocations: 276.8 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1108, allocations: 50.56 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1109, allocations: 16.94 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1109, allocations: 4 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1109, allocations: 30.56 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1109, allocations: 0 / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005572/0.1115, allocations: 149.3 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1116, allocations: 81.11 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1117, allocations: 133.8 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1117, allocations: 29.7 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1118, allocations: 84.14 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1118, allocations: 27.72 kB / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1118, allocations: 13.72 kB / 474 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.112, allocations: 326.8 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.1121, allocations: 23.98 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.1121, allocations: 37.64 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1123, allocations: 48.83 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1123, allocations: 0 / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000196/0.1125, allocations: 93.53 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1125, allocations: 4 kB / 474.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1125, allocations: 0 / 474.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1125, allocations: 4 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.1126, allocations: 11.98 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1126, allocations: 7.922 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.1127, allocations: 7.938 kB / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1127, allocations: 4 kB / 474.5 MB, free: 9.32 MB / 350.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 8.845e-05/0.1128, allocations: 122.3 kB / 474.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1128, allocations: 11.91 kB / 474.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1131, allocations: 93.88 kB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1131, allocations: 0 / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1131, allocations: 4.062 kB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1131, allocations: 0 / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.1135, allocations: 354.4 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1135, allocations: 4 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.1136, allocations: 11.98 kB / 475.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1136, allocations: 0 / 475.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1136, allocations: 4 kB / 475.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1136, allocations: 3.938 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1136, allocations: 0 / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1138, allocations: 187.6 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1139, allocations: 77.11 kB / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1139, allocations: 7.984 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.114, allocations: 11.92 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.114, allocations: 4 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1141, allocations: 0 / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.1141, allocations: 109.4 kB / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1141, allocations: 0 / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1144, allocations: 23.91 kB / 475.6 MB, free: 8.207 MB / 350.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.000979/0.1154, allocations: 446.6 kB / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1156, allocations: 59.89 kB / 476 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1156, allocations: 4 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.1157, allocations: 23.98 kB / 476.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.116, allocations: 15.98 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.1164, allocations: 203.2 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1167, allocations: 0.6962 MB / 477 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.1167, allocations: 23.42 kB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1167, allocations: 0 / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Templates: time 0.003066/0.1198, allocations: 1.589 MB / 478.6 MB, free: 5.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches