Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.11 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 79.72 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002801/0.1079, allocations: 1.673 MB / 481.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.1089, allocations: 0.5455 MB / 482.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.1089, allocations: 0 / 482.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1092, allocations: 99.8 kB / 482.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1094, allocations: 95.7 kB / 482.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1097, allocations: 103.7 kB / 482.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1098, allocations: 71.83 kB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.11, allocations: 27.97 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.11, allocations: 31.86 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.1101, allocations: 51.81 kB / 482.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1101, allocations: 4 kB / 482.6 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.1102, allocations: 43.98 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.1103, allocations: 23.86 kB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1104, allocations: 39.72 kB / 482.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1105, allocations: 71.91 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1105, allocations: 4 kB / 482.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1105, allocations: 0 / 482.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1105, allocations: 0 / 482.8 MB, free: 2.82 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.0004847/0.111, allocations: 431 kB / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1111, allocations: 8.875 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1111, allocations: 20.73 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1113, allocations: 200.6 kB / 483.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1113, allocations: 384 / 483.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1114, allocations: 8.375 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1115, allocations: 57.8 kB / 483.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1115, allocations: 0 / 483.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1115, allocations: 4 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1116, allocations: 4 kB / 483.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1117, allocations: 35.89 kB / 483.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1121, allocations: 300.7 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1122, allocations: 46.56 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1123, allocations: 24.88 kB / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1123, allocations: 0 / 483.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1123, allocations: 38.56 kB / 484 MB, free: 1.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1123, allocations: 0 / 484 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009395/0.1133, allocations: 241 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1133, allocations: 51.41 kB / 484.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1135, allocations: 230.6 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1136, allocations: 29.7 kB / 484.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.1136, allocations: 108.1 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1137, allocations: 35.62 kB / 484.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1137, allocations: 25.7 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1139, allocations: 322.8 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.114, allocations: 31.92 kB / 485 MB, free: 408 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.114, allocations: 36.03 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1142, allocations: 76.75 kB / 485.1 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1142, allocations: 4 kB / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.1145, allocations: 109.6 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1145, allocations: 7.938 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1145, allocations: 0 / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1145, allocations: 4 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1146, allocations: 15.98 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1146, allocations: 0 / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.1147, allocations: 7.938 kB / 485.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1147, allocations: 4 kB / 485.3 MB, free: 132 kB / 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.0001269/0.1149, allocations: 137.8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1149, allocations: 11.81 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1152, allocations: 135 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1152, allocations: 432 / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1152, allocations: 0 / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1152, allocations: 7.938 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1158, allocations: 419.2 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1158, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.1159, allocations: 23.92 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1159, allocations: 7.922 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1159, allocations: 4 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1159, allocations: 7.984 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.116, allocations: 4.031 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1162, allocations: 208.7 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1163, allocations: 92.86 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1163, allocations: 4 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.1164, allocations: 7.984 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1164, allocations: 8 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.1165, allocations: 4 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1166, allocations: 180.3 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1166, allocations: 0 / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1169, allocations: 24 kB / 486.5 MB, free: 14.76 MB / 366.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.001083/0.118, allocations: 458.6 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1182, allocations: 71.94 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1183, allocations: 0 / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1184, allocations: 39.92 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1188, allocations: 19.92 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.1194, allocations: 346.5 kB / 487.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1197, allocations: 0.7217 MB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1197, allocations: 15.44 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1197, allocations: 0 / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.003667/0.1234, allocations: 1.839 MB / 490 MB, free: 11.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches