Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009108/0.0009109, allocations: 96.34 kB / 18 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 199.9 kB / 18.93 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1842/0.1842, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002476, allocations: 12 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1001, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001953/0.1021, allocations: 1.438 MB / 485.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1037, allocations: 0.9941 MB / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.1037, allocations: 0 / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.104, allocations: 43.83 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1043, allocations: 75.73 kB / 486.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1045, allocations: 63.89 kB / 486.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1047, allocations: 99.62 kB / 486.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.1048, allocations: 11.98 kB / 486.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.1049, allocations: 35.8 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.105, allocations: 35.78 kB / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.105, allocations: 0 / 486.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1051, allocations: 51.91 kB / 486.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1052, allocations: 23.86 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.1052, allocations: 61.45 kB / 486.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1054, allocations: 88.08 kB / 486.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1054, allocations: 4 kB / 486.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1054, allocations: 0 / 486.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1054, allocations: 0 / 486.8 MB, free: 1.129 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.0004908/0.1059, allocations: 395.1 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.106, allocations: 8.875 kB / 487.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.106, allocations: 12.84 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1062, allocations: 212.7 kB / 487.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1063, allocations: 8.375 kB / 487.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1063, allocations: 12.05 kB / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1065, allocations: 53.67 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1065, allocations: 0 / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1065, allocations: 4 kB / 487.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1065, allocations: 3.984 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.1066, allocations: 19.98 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.107, allocations: 288.8 kB / 487.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1071, allocations: 62.62 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1072, allocations: 20.84 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1072, allocations: 0 / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1074, allocations: 67.39 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1074, allocations: 4 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00051/0.1079, allocations: 169.2 kB / 488.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.108, allocations: 51.41 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1082, allocations: 194.9 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1082, allocations: 25.7 kB / 488.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1083, allocations: 108 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1083, allocations: 23.7 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1083, allocations: 17.72 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1084, allocations: 330.8 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.1085, allocations: 23.92 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.1086, allocations: 33.72 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1087, allocations: 53.7 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1087, allocations: 0 / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1089, allocations: 109.6 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1089, allocations: 8.031 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1089, allocations: 3.938 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.109, allocations: 4.375 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.109, allocations: 12 kB / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1091, allocations: 0 / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.1091, allocations: 15.92 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1091, allocations: 4 kB / 489.1 MB, free: 14.58 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 9.523e-05/0.1092, allocations: 128.6 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1093, allocations: 15.84 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.1093, allocations: 17.39 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1093, allocations: 4 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1093, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1093, allocations: 3.938 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1098, allocations: 399.2 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1098, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.1098, allocations: 8 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1098, allocations: 4.031 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1099, allocations: 11.94 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1099, allocations: 0 / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1099, allocations: 0 / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1101, allocations: 200.2 kB / 489.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1102, allocations: 96.91 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1102, allocations: 3.938 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1103, allocations: 8 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1103, allocations: 11.98 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1103, allocations: 4 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1104, allocations: 152.7 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1105, allocations: 0 / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1107, allocations: 24 kB / 490.1 MB, free: 13.41 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.001035/0.1118, allocations: 461.7 kB / 490.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1119, allocations: 55.92 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1119, allocations: 0 / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.112, allocations: 31.92 kB / 490.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1124, allocations: 31.11 kB / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.1128, allocations: 279.9 kB / 491 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1131, allocations: 0.7083 MB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1131, allocations: 15.44 kB / 491.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1132, allocations: 0 / 491.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.00366/0.1168, allocations: 1.929 MB / 493.6 MB, free: 10.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches