Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001626, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.17 MB / 351.8 MB, free: 14.38 MB / 286.1 MB " [Timeout remaining time 180] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 90.75 kB / 491 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 62.44 MB / 0.5404 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003795/0.1239, allocations: 1.731 MB / 0.5421 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.1267, allocations: 1.627 MB / 0.5437 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1268, allocations: 3.938 kB / 0.5437 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1271, allocations: 31.83 kB / 0.5438 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1275, allocations: 103.5 kB / 0.5438 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1277, allocations: 83.66 kB / 0.5439 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.128, allocations: 99.69 kB / 0.544 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1281, allocations: 20 kB / 0.544 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1282, allocations: 47.77 kB / 0.5441 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1284, allocations: 49.89 kB / 0.5441 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1284, allocations: 4 kB / 0.5441 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.1286, allocations: 103.9 kB / 0.5442 GB, free: 384 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1287, allocations: 23.86 kB / 0.5443 GB, free: 360 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.1287, allocations: 31.8 kB / 0.5443 GB, free: 328 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.1292, allocations: 171.4 kB / 0.5445 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1292, allocations: 0 / 0.5445 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1292, allocations: 4 kB / 0.5445 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1292, allocations: 0 / 0.5445 GB, free: 152 kB / 398.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.0008997/0.1301, allocations: 430.5 kB / 0.5449 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1302, allocations: 8.031 kB / 0.5449 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.1302, allocations: 20.83 kB / 0.5449 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1306, allocations: 215.3 kB / 0.5451 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1306, allocations: 4.375 kB / 0.5451 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1306, allocations: 4.125 kB / 0.5451 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1308, allocations: 75.39 kB / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1308, allocations: 0 / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1309, allocations: 0 / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1309, allocations: 3.938 kB / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.131, allocations: 23.92 kB / 0.5452 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.1314, allocations: 284.9 kB / 0.5455 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1316, allocations: 58.69 kB / 0.5455 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.1316, allocations: 20.84 kB / 0.5456 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1317, allocations: 4 kB / 0.5456 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1318, allocations: 75.27 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.547e-06/0.1319, allocations: 3.984 kB / 0.5456 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.1324, allocations: 173.4 kB / 0.5458 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.1325, allocations: 81.11 kB / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1327, allocations: 162.5 kB / 0.546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1328, allocations: 25.7 kB / 0.5461 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1328, allocations: 104.1 kB / 0.5462 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1329, allocations: 27.75 kB / 0.5462 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1329, allocations: 25.7 kB / 0.5462 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1332, allocations: 322.8 kB / 0.5465 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.1332, allocations: 23.98 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.1333, allocations: 42.56 kB / 0.5466 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1335, allocations: 62.02 kB / 0.5466 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1335, allocations: 0 / 0.5466 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.1337, allocations: 93.64 kB / 0.5467 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1337, allocations: 8.062 kB / 0.5467 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1337, allocations: 4 kB / 0.5467 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1337, allocations: 7.984 kB / 0.5467 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.1338, allocations: 15.94 kB / 0.5468 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1338, allocations: 0 / 0.5468 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1339, allocations: 11.94 kB / 0.5468 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1339, allocations: 0 / 0.5468 GB, free: 13.52 MB / 414.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.0001393/0.1341, allocations: 123 kB / 0.5469 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1341, allocations: 7.953 kB / 0.5469 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1341, allocations: 16.72 kB / 0.5469 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1341, allocations: 0 / 0.5469 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1342, allocations: 4 kB / 0.5469 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1342, allocations: 7.922 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1347, allocations: 403.4 kB / 0.5473 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1347, allocations: 0 / 0.5473 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1349, allocations: 8.188 kB / 0.5473 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1349, allocations: 3.938 kB / 0.5473 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1349, allocations: 15.91 kB / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1349, allocations: 0 / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1349, allocations: 0 / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1352, allocations: 208.2 kB / 0.5475 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.1353, allocations: 85.06 kB / 0.5476 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1353, allocations: 3.938 kB / 0.5476 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1354, allocations: 12 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1355, allocations: 7.984 kB / 0.5476 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1355, allocations: 4 kB / 0.5476 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1356, allocations: 127.9 kB / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1356, allocations: 0 / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.136, allocations: 43.86 kB / 0.5478 GB, free: 12.36 MB / 414.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.002041/0.138, allocations: 0.5539 MB / 0.5483 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.1383, allocations: 55.97 kB / 0.5484 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.1383, allocations: 0 / 0.5484 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.1384, allocations: 27.94 kB / 0.5484 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1388, allocations: 34.31 kB / 0.5485 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.1393, allocations: 220.7 kB / 0.5487 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1397, allocations: 0.6963 MB / 0.5494 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.1398, allocations: 23.36 kB / 0.5494 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1398, allocations: 0 / 0.5494 GB, free: 10.89 MB / 414.1 MB Notification: Performance of Templates: time 0.005317/0.1451, allocations: 2.422 MB / 0.5517 GB, free: 8.477 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.967603976954706]