Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 187 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009115/0.0009115, allocations: 105.4 kB / 269.9 MB, free: 8.43 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.3322/0.3322, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009797/0.0009797, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1069, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002775/0.1097, allocations: 1.621 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1109, allocations: 0.9025 MB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.1109, allocations: 4 kB / 489.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1112, allocations: 23.91 kB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1113, allocations: 43.78 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1115, allocations: 51.94 kB / 489.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1116, allocations: 55.84 kB / 489.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.1117, allocations: 19.91 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1118, allocations: 19.92 kB / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1119, allocations: 23.91 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1119, allocations: 3.938 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/0.112, allocations: 51.91 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.1121, allocations: 8 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.1121, allocations: 23.86 kB / 489.9 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1123, allocations: 91.98 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1123, allocations: 0 / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1123, allocations: 0 / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1123, allocations: 0 / 489.9 MB, free: 9.586 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.0004613/0.1128, allocations: 375.2 kB / 490.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1128, allocations: 16.02 kB / 490.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1128, allocations: 0.9375 kB / 490.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.113, allocations: 184.2 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1131, allocations: 8.375 kB / 490.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1131, allocations: 4.312 kB / 490.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1132, allocations: 67.52 kB / 490.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1132, allocations: 3.906 kB / 490.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1132, allocations: 0 / 490.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1133, allocations: 4 kB / 490.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.1133, allocations: 19.98 kB / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.1137, allocations: 272.9 kB / 490.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1139, allocations: 42.5 kB / 490.9 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.1139, allocations: 20.94 kB / 490.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.114, allocations: 0 / 490.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.114, allocations: 34.56 kB / 491 MB, free: 8.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.114, allocations: 0 / 491 MB, free: 8.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004775/0.1145, allocations: 133.6 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1145, allocations: 77.11 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1147, allocations: 133.8 kB / 491.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1147, allocations: 29.7 kB / 491.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.1147, allocations: 91.98 kB / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1148, allocations: 27.78 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.1148, allocations: 13.72 kB / 491.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1149, allocations: 326.8 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.115, allocations: 15.98 kB / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.1151, allocations: 33.64 kB / 491.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1152, allocations: 44.88 kB / 491.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1152, allocations: 3.938 kB / 491.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001735/0.1154, allocations: 89.81 kB / 492 MB, free: 7.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1154, allocations: 7.938 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1154, allocations: 48 / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1154, allocations: 3.984 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.1155, allocations: 15.98 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1155, allocations: 0 / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.1155, allocations: 8 kB / 492 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1156, allocations: 7.922 kB / 492 MB, free: 7.27 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 6.85e-05/0.1156, allocations: 121.8 kB / 492.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1157, allocations: 4 kB / 492.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.1159, allocations: 81.62 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1159, allocations: 4 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1159, allocations: 3.984 kB / 492.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1159, allocations: 4 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.1163, allocations: 346.4 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1163, allocations: 0 / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1163, allocations: 15.98 kB / 492.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1163, allocations: 0 / 492.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1164, allocations: 0 / 492.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1164, allocations: 3.938 kB / 492.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1164, allocations: 0 / 492.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1169, allocations: 0.7475 MB / 493.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1169, allocations: 85 kB / 493.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1169, allocations: 8 kB / 493.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.117, allocations: 4 kB / 493.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1171, allocations: 11.98 kB / 493.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1171, allocations: 0 / 493.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.1171, allocations: 107.8 kB / 493.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1172, allocations: 0 / 493.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.1175, allocations: 24 kB / 493.6 MB, free: 5.566 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.0008478/0.1183, allocations: 453.9 kB / 494 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1185, allocations: 47.95 kB / 494.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1185, allocations: 0 / 494.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.1186, allocations: 27.92 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1189, allocations: 16.55 kB / 494.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1193, allocations: 298 kB / 494.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1195, allocations: 0.6887 MB / 495.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.1196, allocations: 7.859 kB / 495.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.1196, allocations: 23.42 kB / 495.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1196, allocations: 0 / 495.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of Templates: time 0.003195/0.1228, allocations: 1.3 MB / 496.4 MB, free: 2.703 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches