Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009034/0.0009033, allocations: 112 kB / 269.9 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2896/0.2896, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009506/0.0009507, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.112, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002692/0.1148, allocations: 1.61 MB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.1154, allocations: 335.5 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.1154, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1157, allocations: 67.83 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1159, allocations: 51.88 kB / 489.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1161, allocations: 83.84 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1163, allocations: 63.88 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.1164, allocations: 11.98 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.1164, allocations: 31.84 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.1165, allocations: 47.83 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1166, allocations: 4 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.711e-05/0.1166, allocations: 20 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1167, allocations: 23.91 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.1168, allocations: 23.81 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1169, allocations: 87.94 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1169, allocations: 0 / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1169, allocations: 0 / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1169, allocations: 0 / 489.5 MB, free: 10.08 MB / 378.7 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.0004479/0.1174, allocations: 391.1 kB / 489.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1174, allocations: 15.97 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1175, allocations: 8.844 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1176, allocations: 208.4 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1177, allocations: 4.375 kB / 490.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1177, allocations: 384 / 490.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1178, allocations: 53.81 kB / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1179, allocations: 0 / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1179, allocations: 0 / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1179, allocations: 0 / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.118, allocations: 27.97 kB / 490.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1184, allocations: 292.7 kB / 490.4 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1186, allocations: 50.53 kB / 490.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1187, allocations: 12.86 kB / 490.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1187, allocations: 4 kB / 490.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1188, allocations: 38.66 kB / 490.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.1188, allocations: 0 / 490.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005269/0.1193, allocations: 149.3 kB / 490.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1193, allocations: 51.41 kB / 490.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1195, allocations: 198.2 kB / 490.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1195, allocations: 25.7 kB / 491 MB, free: 8.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1196, allocations: 104 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1196, allocations: 15.81 kB / 491.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1197, allocations: 13.72 kB / 491.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1198, allocations: 330.8 kB / 491.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.1199, allocations: 23.92 kB / 491.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.1199, allocations: 19.98 kB / 491.4 MB, free: 7.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1201, allocations: 52.81 kB / 491.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1201, allocations: 0 / 491.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.1203, allocations: 85.58 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1203, allocations: 4 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1203, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1203, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.1204, allocations: 15.98 kB / 491.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1204, allocations: 7.938 kB / 491.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.1204, allocations: 7.938 kB / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1205, allocations: 7.984 kB / 491.6 MB, free: 7.676 MB / 378.7 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.554e-05/0.1205, allocations: 121.8 kB / 491.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.1206, allocations: 7.906 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1208, allocations: 97.95 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1208, allocations: 8 kB / 491.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1208, allocations: 0 / 491.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1208, allocations: 0 / 491.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.1212, allocations: 366.7 kB / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1212, allocations: 0 / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.1213, allocations: 11.98 kB / 492.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1213, allocations: 0 / 492.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1213, allocations: 8 kB / 492.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1213, allocations: 7.938 kB / 492.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1213, allocations: 0 / 492.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.1219, allocations: 0.7666 MB / 493 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1219, allocations: 81.02 kB / 493.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1219, allocations: 7.984 kB / 493.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.122, allocations: 7.938 kB / 493.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.122, allocations: 4 kB / 493.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1221, allocations: 3.984 kB / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.1222, allocations: 144.1 kB / 493.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1222, allocations: 0 / 493.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.1225, allocations: 19.94 kB / 493.3 MB, free: 5.883 MB / 378.7 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.0007915/0.1233, allocations: 414 kB / 493.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1235, allocations: 51.95 kB / 493.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1235, allocations: 0 / 493.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.1236, allocations: 23.98 kB / 493.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1239, allocations: 23.86 kB / 493.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1244, allocations: 350.5 kB / 494.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1246, allocations: 0.7043 MB / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.1247, allocations: 15.97 kB / 494.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1247, allocations: 19.44 kB / 494.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1247, allocations: 0 / 494.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of Templates: time 0.003069/0.1278, allocations: 1.075 MB / 495.9 MB, free: 3.199 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches