Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009502/0.0009503, allocations: 95.09 kB / 18.01 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.001127/0.001127, allocations: 207 kB / 18.94 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.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 15.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.0986, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002032/0.1007, allocations: 1.442 MB / 485.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1023, allocations: 0.9935 MB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.1025, allocations: 0 / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1028, allocations: 59.8 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1031, allocations: 79.72 kB / 486.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1033, allocations: 63.89 kB / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1035, allocations: 111.6 kB / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.1036, allocations: 8 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.1037, allocations: 43.78 kB / 486.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.1038, allocations: 39.77 kB / 486.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1038, allocations: 0 / 486.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1039, allocations: 43.94 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.104, allocations: 31.91 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.1041, allocations: 73.31 kB / 486.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1043, allocations: 96.02 kB / 486.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1043, allocations: 4 kB / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1043, allocations: 0 / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1043, allocations: 0 / 486.8 MB, free: 1.059 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.000532/0.1048, allocations: 426.9 kB / 487.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1049, allocations: 12.88 kB / 487.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1049, allocations: 12.75 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1052, allocations: 216.9 kB / 487.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1052, allocations: 8.375 kB / 487.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1052, allocations: 8.125 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1054, allocations: 57.67 kB / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1054, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1054, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1054, allocations: 4 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.1055, allocations: 15.98 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1059, allocations: 312.7 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1061, allocations: 58.67 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1061, allocations: 16.86 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1062, allocations: 3.938 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1063, allocations: 71.39 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.1063, allocations: 3.938 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.1069, allocations: 177.1 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1069, allocations: 51.41 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1072, allocations: 274.9 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1072, allocations: 25.7 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.1073, allocations: 120 kB / 488.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1073, allocations: 15.81 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1074, allocations: 17.7 kB / 488.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1075, allocations: 334.8 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.1076, allocations: 23.98 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.1076, allocations: 33.7 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1078, allocations: 61.77 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1078, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.108, allocations: 117.3 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.108, allocations: 6.5 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.108, allocations: 4.172 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.108, allocations: 0 / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1081, allocations: 23.88 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1081, allocations: 0 / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1082, allocations: 11.86 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1082, allocations: 4 kB / 489.3 MB, free: 14.34 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.0001109/0.1083, allocations: 133.8 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1084, allocations: 19.84 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.1084, allocations: 25.39 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1084, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1084, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1084, allocations: 3.938 kB / 489.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1089, allocations: 403.3 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1089, allocations: 0 / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1089, allocations: 12.38 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1089, allocations: 4.031 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.109, allocations: 3.938 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.109, allocations: 8 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.109, allocations: 0 / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1092, allocations: 212.1 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.1093, allocations: 88.92 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1093, allocations: 11.94 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1094, allocations: 7.984 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1094, allocations: 4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1095, allocations: 4 kB / 490.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1096, allocations: 208.4 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1096, allocations: 0 / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1099, allocations: 20 kB / 490.4 MB, free: 13.09 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.001046/0.111, allocations: 458.8 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1111, allocations: 59.94 kB / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1111, allocations: 0 / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.1112, allocations: 35.92 kB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1116, allocations: 28.11 kB / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.1121, allocations: 352.6 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1124, allocations: 0.7199 MB / 492.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1125, allocations: 15.44 kB / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1125, allocations: 0 / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Templates: time 0.004094/0.1166, allocations: 2.079 MB / 494.2 MB, free: 9.457 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches