Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007958/0.0007958, allocations: 94.75 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009218/0.0009218, allocations: 204.8 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.334/1.334, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09736, allocations: 63.57 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001963/0.09936, allocations: 1.446 MB / 485.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1009, allocations: 0.9902 MB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.101, allocations: 0 / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1013, allocations: 39.84 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1016, allocations: 75.73 kB / 486.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1018, allocations: 59.89 kB / 486.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.102, allocations: 103.7 kB / 486.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.102, allocations: 12 kB / 486.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.1021, allocations: 39.73 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.1022, allocations: 35.77 kB / 486.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1022, allocations: 4 kB / 486.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/0.1023, allocations: 39.98 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.1024, allocations: 19.92 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1025, allocations: 61.44 kB / 486.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1026, allocations: 92.03 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1026, allocations: 7.938 kB / 486.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1026, allocations: 0 / 486.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1027, 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.0004639/0.1031, allocations: 395.2 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1032, allocations: 8.875 kB / 487.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1032, allocations: 12.75 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1034, allocations: 204.1 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1035, allocations: 384 / 487.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1035, allocations: 16.12 kB / 487.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1036, allocations: 53.61 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1036, allocations: 0 / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1037, allocations: 4 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1037, allocations: 4 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.1037, allocations: 15.98 kB / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1041, allocations: 280.9 kB / 487.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1043, allocations: 66.55 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1043, allocations: 24.84 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1044, allocations: 4 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1045, allocations: 63.39 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.895e-06/0.1045, allocations: 3.984 kB / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005025/0.105, allocations: 177.2 kB / 488.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1051, allocations: 55.41 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1053, allocations: 176.1 kB / 488.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1053, allocations: 29.7 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1054, allocations: 104 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1054, allocations: 23.73 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1054, allocations: 13.72 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1055, allocations: 330.8 kB / 488.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.1056, allocations: 23.98 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.1057, allocations: 37.64 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1058, allocations: 53.72 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1058, allocations: 0 / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.106, allocations: 109.4 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.106, allocations: 8.031 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.106, allocations: 4 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.106, allocations: 384 / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.1061, allocations: 12.19 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1061, allocations: 3.984 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.1062, allocations: 15.88 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1062, allocations: 4 kB / 489 MB, free: 14.6 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.624e-05/0.1063, allocations: 125.8 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1063, allocations: 7.906 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.1064, allocations: 21.55 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1064, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1064, allocations: 0 / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1064, allocations: 3.938 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1068, allocations: 391.2 kB / 489.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1069, allocations: 7.984 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.1069, allocations: 4 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1069, allocations: 4 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1069, allocations: 7.969 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1069, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1069, allocations: 4 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1071, allocations: 204.2 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.1072, allocations: 96.91 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1072, allocations: 3.938 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1073, allocations: 8 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1074, allocations: 3.984 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1074, allocations: 4 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1075, allocations: 146.8 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1075, allocations: 0 / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1078, allocations: 24 kB / 490.1 MB, free: 13.44 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.001007/0.1088, allocations: 447.7 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1089, allocations: 55.91 kB / 490.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.109, allocations: 4 kB / 490.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.109, allocations: 24 kB / 490.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1094, allocations: 39.66 kB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.1098, allocations: 275.9 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1101, allocations: 0.7043 MB / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.1102, allocations: 23.42 kB / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1102, allocations: 0 / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.003539/0.1137, allocations: 1.889 MB / 493.5 MB, free: 10.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches