Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 79.28 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003316/0.1109, allocations: 2.354 MB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1131, allocations: 1.402 MB / 485.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1132, allocations: 11.94 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1137, allocations: 283 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.1143, allocations: 334.6 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1147, allocations: 223.3 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.1152, allocations: 0.5492 MB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1153, allocations: 57.06 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1156, allocations: 239 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1159, allocations: 270.9 kB / 487.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.1159, allocations: 23.98 kB / 487.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.116, allocations: 59.98 kB / 487.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1161, allocations: 107.5 kB / 487.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1163, allocations: 186.6 kB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1167, allocations: 418.3 kB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1167, allocations: 4 kB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1167, allocations: 0 / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1167, allocations: 0 / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001051/0.1178, allocations: 0.7939 MB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1178, allocations: 8.031 kB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.1179, allocations: 52.28 kB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.1185, allocations: 423.8 kB / 489.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1185, allocations: 12.36 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1185, allocations: 24.03 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.1189, allocations: 209.8 kB / 489.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1189, allocations: 4 kB / 489.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.119, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.119, allocations: 4 kB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.1192, allocations: 103.9 kB / 489.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.1201, allocations: 0.8605 MB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.1207, allocations: 289.3 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1209, allocations: 92.27 kB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.121, allocations: 11.92 kB / 490.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.1214, allocations: 231.4 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.666e-06/0.1214, allocations: 3.938 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001901/0.1233, allocations: 1.012 MB / 492.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.1234, allocations: 162.2 kB / 492.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.124, allocations: 0.6514 MB / 492.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1241, allocations: 33.7 kB / 492.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1242, allocations: 244.9 kB / 493.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.1243, allocations: 126.3 kB / 493.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1244, allocations: 70.12 kB / 493.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1246, allocations: 382.7 kB / 493.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1248, allocations: 96.83 kB / 493.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1251, allocations: 188.9 kB / 494 MB, free: 7.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.1255, allocations: 297 kB / 494.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1255, allocations: 4 kB / 494.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006577/0.1262, allocations: 404.5 kB / 494.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1262, allocations: 4.156 kB / 494.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1262, allocations: 8 kB / 494.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1263, allocations: 4 kB / 494.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1266, allocations: 79.91 kB / 494.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1266, allocations: 7.984 kB / 494.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1268, allocations: 12 kB / 494.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1268, allocations: 27.97 kB / 494.8 MB, free: 6.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002001/0.127, allocations: 212.2 kB / 495 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1271, allocations: 67.19 kB / 495.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1272, allocations: 72.78 kB / 495.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1272, allocations: 4 kB / 495.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1272, allocations: 0 / 495.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1272, allocations: 7.984 kB / 495.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.1287, allocations: 1.276 MB / 496.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1287, allocations: 0 / 496.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1288, allocations: 55.91 kB / 496.5 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.1289, allocations: 4 kB / 496.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.1289, allocations: 19.92 kB / 496.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1289, allocations: 4 kB / 496.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1289, allocations: 160 / 496.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.1297, allocations: 0.8164 MB / 497.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.1298, allocations: 128.4 kB / 497.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.1299, allocations: 19.92 kB / 497.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.1302, allocations: 15.98 kB / 497.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1303, allocations: 43.89 kB / 497.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1303, allocations: 16 kB / 497.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004691/0.1308, allocations: 494.8 kB / 498 MB, free: 3.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1308, allocations: 3.938 kB / 498 MB, free: 3.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.1313, allocations: 76 kB / 498.1 MB, free: 3.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001017/0.1323, allocations: 477.9 kB / 498.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.1329, allocations: 299.5 kB / 498.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.133, allocations: 0 / 498.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.1332, allocations: 152.1 kB / 499 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.1342, allocations: 148.4 kB / 499.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1354, allocations: 0.912 MB / 0.4884 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1358, allocations: 0.859 MB / 0.4892 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.136, allocations: 84.14 kB / 0.4893 GB, free: 468 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1362, allocations: 55.41 kB / 0.4893 GB, free: 412 kB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1362, allocations: 0 / 0.4893 GB, free: 412 kB / 366.1 MB Notification: Performance of Templates: time 0.009867/0.146, allocations: 5.734 MB / 0.4949 GB, free: 10.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches