Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 114.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 212.5 kB / 19.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1004, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002802/0.1032, allocations: 1.73 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1047, allocations: 1.048 MB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1048, allocations: 0 / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.105, allocations: 35.77 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1053, allocations: 91.61 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1055, allocations: 83.61 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1056, allocations: 115.7 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.1057, allocations: 7.984 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.1058, allocations: 47.78 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.1059, allocations: 39.78 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1059, allocations: 8 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1061, allocations: 115.9 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.1061, allocations: 19.92 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.1062, allocations: 39.78 kB / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1064, allocations: 175.5 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1064, allocations: 4 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1064, allocations: 0 / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1064, allocations: 3.938 kB / 485 MB, free: 0.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004631/0.1069, allocations: 423.1 kB / 485.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.1069, allocations: 8.031 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.107, allocations: 8.844 kB / 485.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1072, allocations: 216.1 kB / 485.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1073, allocations: 8.375 kB / 485.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1073, allocations: 8.062 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1074, allocations: 71.33 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1075, allocations: 3.984 kB / 485.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1075, allocations: 0 / 485.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1075, allocations: 3.938 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.1076, allocations: 19.98 kB / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1079, allocations: 284.8 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1081, allocations: 66.55 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.1081, allocations: 28.97 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1082, allocations: 3.984 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1083, allocations: 79.38 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1083, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005255/0.1089, allocations: 193.2 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1089, allocations: 89.03 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1091, allocations: 165.3 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1091, allocations: 29.7 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1092, allocations: 104.1 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1092, allocations: 35.53 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.1093, allocations: 29.7 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1094, allocations: 322.8 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.1094, allocations: 27.98 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.1095, allocations: 50.56 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1097, allocations: 73.73 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1097, allocations: 0 / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/0.1099, allocations: 125.5 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1099, allocations: 4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1099, allocations: 0 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1099, allocations: 7.984 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.11, allocations: 19.94 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.11, allocations: 480 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1101, allocations: 19.83 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1101, allocations: 8.031 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.514e-05/0.1102, allocations: 121.8 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1103, allocations: 7.906 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.1103, allocations: 16.7 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1103, allocations: 0 / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1103, allocations: 0 / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1103, allocations: 3.938 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1108, allocations: 431.2 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1108, allocations: 0 / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1109, allocations: 19.92 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1109, allocations: 0 / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1109, allocations: 4 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1109, allocations: 3.984 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1109, allocations: 0 / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1111, allocations: 216.3 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.1112, allocations: 92.94 kB / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1112, allocations: 4 kB / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.1113, allocations: 11.92 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1114, allocations: 11.92 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1114, allocations: 4 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.1115, allocations: 127.1 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1115, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1118, allocations: 51.98 kB / 488.6 MB, free: 13.01 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001116/0.1129, allocations: 0.553 MB / 489.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1131, allocations: 75.91 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1131, allocations: 4.062 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.1132, allocations: 39.92 kB / 489.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1136, allocations: 42.12 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.114, allocations: 219.1 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1142, allocations: 0.7046 MB / 490.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.1143, allocations: 16.64 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.1144, allocations: 31.36 kB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1144, allocations: 0 / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004842/0.1192, allocations: 2.494 MB / 492.8 MB, free: 8.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches