Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108.3 kB / 17.99 MB, free: 5.336 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.001054/0.001054, allocations: 193.3 kB / 18.9 MB, free: 4.422 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.297/1.297, allocations: 222.9 MB / 242.6 MB, free: 13.66 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.208/0.208, allocations: 44.17 MB / 336.9 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.11 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 60.83 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002968/0.1072, allocations: 1.629 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.108, allocations: 403.3 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1081, allocations: 4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1083, allocations: 107.7 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1085, allocations: 71.84 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1088, allocations: 75.86 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1089, allocations: 79.8 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.109, allocations: 16.19 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.1091, allocations: 47.77 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.1092, allocations: 63.86 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1092, allocations: 4 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.1093, allocations: 39.98 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.1094, allocations: 27.86 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1094, allocations: 31.73 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1096, allocations: 84.19 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1096, allocations: 0 / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1096, allocations: 4 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1096, allocations: 0 / 472.1 MB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004819/0.1101, allocations: 426.8 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1101, allocations: 8.031 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1102, allocations: 12.75 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1104, allocations: 208.6 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1104, allocations: 4.375 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1104, allocations: 384 / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1106, allocations: 65.59 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1106, allocations: 4 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1106, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1106, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.1107, allocations: 27.92 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1112, allocations: 300.7 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1113, allocations: 42.56 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1113, allocations: 24.88 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1114, allocations: 0 / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1114, allocations: 30.56 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1114, allocations: 0 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008616/0.1123, allocations: 233.1 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1123, allocations: 51.41 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1125, allocations: 242.6 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1125, allocations: 25.7 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.1126, allocations: 108.1 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1126, allocations: 31.55 kB / 473.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1127, allocations: 21.72 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1128, allocations: 322.8 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.1129, allocations: 35.91 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.1129, allocations: 19.98 kB / 474.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1131, allocations: 68.83 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1131, allocations: 0 / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/0.1133, allocations: 101.6 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1134, allocations: 7.938 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1134, allocations: 0 / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1134, allocations: 0 / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.1135, allocations: 19.98 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1135, allocations: 3.938 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.1135, allocations: 4 kB / 474.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1136, allocations: 3.984 kB / 474.5 MB, free: 9.367 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 (8): * Single equations (assignments): 8 * 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 0.0001104/0.1137, allocations: 133.8 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1137, allocations: 19.8 kB / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.114, allocations: 115.4 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.114, allocations: 4 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.114, allocations: 3.938 kB / 474.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.114, allocations: 3.984 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1145, allocations: 403.2 kB / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1145, allocations: 3.984 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.1146, allocations: 23.88 kB / 475.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1146, allocations: 0 / 475.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1146, allocations: 4 kB / 475.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1146, allocations: 7.984 kB / 475.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1146, allocations: 0 / 475.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1148, allocations: 200.3 kB / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1149, allocations: 96.84 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1149, allocations: 0 / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.115, allocations: 8 kB / 475.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.115, allocations: 7.984 kB / 475.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.115, allocations: 8 kB / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1152, allocations: 192.3 kB / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1152, allocations: 0 / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1154, allocations: 12 kB / 475.7 MB, free: 8.039 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009847/0.1164, allocations: 460.8 kB / 476.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1166, allocations: 63.95 kB / 476.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1167, allocations: 0 / 476.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.1167, allocations: 43.91 kB / 476.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1171, allocations: 23.86 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.1176, allocations: 332.6 kB / 476.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1179, allocations: 0.7196 MB / 477.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1179, allocations: 15.44 kB / 477.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1179, allocations: 0 / 477.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.003326/0.1213, allocations: 1.776 MB / 479.1 MB, free: 4.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches