Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.17 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002464, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09982, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002048/0.1019, allocations: 1.442 MB / 485.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1035, allocations: 0.9863 MB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.1036, allocations: 4 kB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.104, allocations: 59.8 kB / 486.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1043, allocations: 83.72 kB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1045, allocations: 59.89 kB / 486.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1047, allocations: 111.6 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.1048, allocations: 8 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.1049, allocations: 43.78 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.105, allocations: 35.78 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.105, allocations: 4 kB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1051, allocations: 39.98 kB / 486.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.1052, allocations: 35.84 kB / 486.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.1053, allocations: 65.38 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1054, allocations: 112 kB / 486.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1054, allocations: 0 / 486.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1054, allocations: 0 / 486.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1055, allocations: 0 / 486.8 MB, free: 1.027 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.0005244/0.106, allocations: 422.9 kB / 487.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.106, allocations: 8.875 kB / 487.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1061, allocations: 16.75 kB / 487.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1063, allocations: 213 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1063, allocations: 16.31 kB / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1064, allocations: 4.125 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1065, allocations: 53.67 kB / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1065, allocations: 0 / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1066, allocations: 4 kB / 487.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1066, allocations: 0 / 487.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.1066, allocations: 15.98 kB / 487.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.107, allocations: 300.8 kB / 487.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1072, allocations: 66.61 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1073, allocations: 16.86 kB / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1073, allocations: 11.92 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1075, allocations: 63.39 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1075, allocations: 4 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.108, allocations: 185 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1081, allocations: 51.41 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1084, allocations: 267 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1084, allocations: 37.69 kB / 488.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1085, allocations: 112 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1085, allocations: 15.81 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1086, allocations: 13.72 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1087, allocations: 338.8 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.1088, allocations: 23.94 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.1088, allocations: 33.7 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1089, allocations: 65.75 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.109, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1092, allocations: 113.3 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1092, allocations: 10.22 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1092, allocations: 0 / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1092, allocations: 4 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1093, allocations: 12 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1093, allocations: 0 / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.1094, allocations: 16.23 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1094, allocations: 0 / 489.3 MB, free: 14.32 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.0001131/0.1095, allocations: 137.8 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1095, allocations: 15.81 kB / 489.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.1096, allocations: 29.41 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1096, allocations: 0 / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1096, allocations: 3.984 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1096, allocations: 7.938 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.11, allocations: 403.3 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1101, allocations: 0 / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.1101, allocations: 8 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1101, allocations: 4.031 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1101, allocations: 7.938 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1101, allocations: 0 / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1101, allocations: 0 / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1104, allocations: 212.1 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1104, allocations: 92.91 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1105, allocations: 3.938 kB / 490.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.1105, allocations: 12.19 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1106, allocations: 7.984 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1106, allocations: 3.938 kB / 490.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.1108, allocations: 208.4 kB / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1108, allocations: 0 / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1111, allocations: 20 kB / 490.4 MB, free: 13.07 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.001033/0.1121, allocations: 450.8 kB / 490.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1123, allocations: 71.81 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1123, allocations: 0 / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.1124, allocations: 31.92 kB / 491 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1127, allocations: 28.11 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1133, allocations: 356.6 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1136, allocations: 0.7121 MB / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.1136, allocations: 19.42 kB / 492.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1136, allocations: 0 / 492.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.003911/0.1175, allocations: 2.085 MB / 494.2 MB, free: 9.434 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches