Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000907/0.000907, allocations: 95.88 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009115/0.0009115, allocations: 203.6 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 15.98 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 63.57 MB / 483.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001997/0.1058, allocations: 1.446 MB / 485.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1074, allocations: 0.9824 MB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.1075, allocations: 0 / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1078, allocations: 47.83 kB / 486.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.108, allocations: 79.73 kB / 486.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1083, allocations: 55.89 kB / 486.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1084, allocations: 107.6 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.1085, allocations: 8 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1086, allocations: 39.8 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.1087, allocations: 39.77 kB / 486.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1087, allocations: 0 / 486.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1088, allocations: 39.98 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1089, allocations: 27.86 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.109, allocations: 57.44 kB / 486.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1091, allocations: 88.09 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1091, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1091, allocations: 0 / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1091, allocations: 0 / 486.8 MB, free: 1.066 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.0004969/0.1096, allocations: 403.1 kB / 487.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1097, allocations: 8.875 kB / 487.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1097, allocations: 8.844 kB / 487.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.11, allocations: 216.7 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.11, allocations: 4.312 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.11, allocations: 8.125 kB / 487.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1102, allocations: 53.67 kB / 487.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1102, allocations: 7.984 kB / 487.4 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1102, allocations: 0 / 487.4 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1102, allocations: 8 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.1103, allocations: 19.92 kB / 487.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1106, allocations: 288.8 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1108, allocations: 58.62 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1109, allocations: 24.84 kB / 487.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1109, allocations: 0 / 487.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1111, allocations: 63.39 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1111, allocations: 4 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005123/0.1116, allocations: 177.2 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1116, allocations: 51.41 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1118, allocations: 190.9 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1119, allocations: 33.7 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1119, allocations: 104.1 kB / 488.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.112, allocations: 19.72 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.112, allocations: 17.7 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1121, allocations: 330.8 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.1122, allocations: 15.94 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.1122, allocations: 37.7 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1124, allocations: 61.7 kB / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1124, allocations: 0 / 488.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1126, allocations: 113.5 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1126, allocations: 4 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1126, allocations: 0 / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1126, allocations: 0 / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.1127, allocations: 16 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1127, allocations: 0 / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.1128, allocations: 15.95 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1128, allocations: 0 / 489.1 MB, free: 14.52 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 (10): * Single equations (assignments): 10 * 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.0001016/0.1129, allocations: 129.8 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1129, allocations: 11.89 kB / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.113, allocations: 21.33 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.113, allocations: 4 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.113, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.113, allocations: 3.938 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.1134, allocations: 403.2 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1135, allocations: 0 / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1135, allocations: 8 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1135, allocations: 192 / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1135, allocations: 4.312 kB / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1135, allocations: 7.938 kB / 489.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1135, allocations: 4 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1138, allocations: 208.2 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1138, allocations: 92.91 kB / 489.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1138, allocations: 7.938 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.1139, allocations: 4 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.114, allocations: 7.984 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.114, allocations: 4 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1141, allocations: 152.7 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1141, allocations: 4 kB / 490.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1144, allocations: 24 kB / 490.1 MB, free: 13.33 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 (8): * Single equations (assignments): 6 * 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.001021/0.1154, allocations: 461.4 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1156, allocations: 55.92 kB / 490.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1156, allocations: 0 / 490.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.1157, allocations: 35.92 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.116, allocations: 22.98 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1165, allocations: 284.3 kB / 491 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1168, allocations: 0.7043 MB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1168, allocations: 15.44 kB / 491.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1168, allocations: 0 / 491.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.00362/0.1204, allocations: 1.929 MB / 493.6 MB, free: 9.938 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches