Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001571/0.001571, allocations: 126.7 kB / 18.46 MB, free: 4.605 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.001906/0.001906, allocations: 203.3 kB / 21.41 MB, free: 1.664 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.521/1.521, allocations: 227.4 MB / 251.6 MB, free: 104 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.2528/0.2528, allocations: 46.16 MB / 351.1 MB, free: 14.3 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 79.62 kB / 490.3 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1265, allocations: 62.45 MB / 0.5398 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003252/0.1298, allocations: 1.723 MB / 0.5415 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1316, allocations: 1.024 MB / 0.5425 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.1316, allocations: 0 / 0.5425 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.1319, allocations: 43.77 kB / 0.5425 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1323, allocations: 99.53 kB / 0.5426 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1325, allocations: 75.67 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1326, allocations: 107.7 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.1327, allocations: 11.94 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1328, allocations: 43.78 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.1329, allocations: 35.78 kB / 0.5429 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1329, allocations: 8 kB / 0.5429 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.133, allocations: 47.98 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1331, allocations: 19.92 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1332, allocations: 35.73 kB / 0.543 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1334, allocations: 127.4 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1334, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1334, allocations: 3.938 kB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1334, allocations: 0 / 0.5431 GB, free: 0.7383 MB / 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.0005691/0.134, allocations: 430.6 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.134, allocations: 12.03 kB / 0.5435 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1341, allocations: 16.83 kB / 0.5435 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1344, allocations: 208.1 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1344, allocations: 384 / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1344, allocations: 8.453 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1346, allocations: 53.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1346, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1346, allocations: 7.938 kB / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1347, allocations: 0 / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.1347, allocations: 23.98 kB / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1351, allocations: 296.7 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1353, allocations: 54.67 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1354, allocations: 36.72 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1354, allocations: 0 / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1356, allocations: 67.39 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1356, allocations: 0 / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.1362, allocations: 177.3 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1362, allocations: 51.41 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1364, allocations: 202.1 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1365, allocations: 33.7 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.1366, allocations: 104.1 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1366, allocations: 27.78 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1367, allocations: 25.72 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1368, allocations: 326.8 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.1369, allocations: 19.98 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.137, allocations: 37.7 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1371, allocations: 57.66 kB / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1371, allocations: 0 / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.1373, allocations: 113.5 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1373, allocations: 4 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1374, allocations: 0 / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1374, allocations: 4 kB / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.1375, allocations: 15.98 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1375, allocations: 0 / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.1375, allocations: 4 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1375, allocations: 8.188 kB / 0.5454 GB, free: 14.12 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.000113/0.1377, allocations: 131 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1377, allocations: 12.09 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.1378, allocations: 21.39 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1378, allocations: 7.875 kB / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1378, allocations: 0 / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1378, allocations: 3.984 kB / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1383, allocations: 399.3 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1383, allocations: 7.938 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.1383, allocations: 4 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1384, allocations: 4 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1384, allocations: 4.359 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.1384, allocations: 7.875 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1384, allocations: 4 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1387, allocations: 208.3 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1387, allocations: 85.06 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1388, allocations: 0 / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.1388, allocations: 11.91 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1389, allocations: 11.94 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1389, allocations: 4 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1391, allocations: 160.8 kB / 0.5464 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1391, allocations: 0 / 0.5464 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1393, allocations: 27.92 kB / 0.5465 GB, free: 12.92 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.001712/0.1411, allocations: 446.3 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1413, allocations: 59.91 kB / 0.547 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1413, allocations: 8 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.1414, allocations: 28 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1417, allocations: 35.62 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.1422, allocations: 254.5 kB / 0.5473 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1426, allocations: 0.708 MB / 0.548 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1427, allocations: 17.17 kB / 0.548 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1427, allocations: 15.44 kB / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1427, allocations: 0 / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.005103/0.1478, allocations: 1.744 MB / 0.5497 GB, free: 9.746 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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: 5.159257121384144]