Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001442/0.001442, allocations: 122.6 kB / 18.46 MB, free: 4.594 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.001664/0.001664, allocations: 203.3 kB / 21.4 MB, free: 1.648 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.702/1.702, allocations: 227.4 MB / 251.7 MB, free: 268 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.2603/0.2603, allocations: 46.17 MB / 351.1 MB, free: 14.39 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 79.7 kB / 490.3 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 62.45 MB / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003315/0.1307, allocations: 1.73 MB / 0.5415 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1325, allocations: 1.034 MB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.1326, allocations: 0 / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.133, allocations: 39.77 kB / 0.5425 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1333, allocations: 95.59 kB / 0.5426 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1335, allocations: 75.67 kB / 0.5427 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1337, allocations: 103.8 kB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1339, allocations: 19.92 kB / 0.5428 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.1339, allocations: 35.8 kB / 0.5428 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.134, allocations: 39.78 kB / 0.5429 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1341, allocations: 4 kB / 0.5429 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1342, allocations: 43.98 kB / 0.5429 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1342, allocations: 19.92 kB / 0.5429 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1343, allocations: 39.72 kB / 0.543 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1345, allocations: 119.5 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1345, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1345, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1346, allocations: 7.938 kB / 0.5431 GB, free: 0.7344 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.0005582/0.1351, allocations: 426.5 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1352, allocations: 8.031 kB / 0.5435 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1352, allocations: 16.89 kB / 0.5435 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1355, allocations: 212.8 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1355, allocations: 384 / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1356, allocations: 8.422 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1357, allocations: 57.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1358, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1358, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1358, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.1359, allocations: 31.86 kB / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1363, allocations: 280.9 kB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1365, allocations: 62.67 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1365, allocations: 20.84 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1366, allocations: 7.938 kB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.1367, allocations: 63.39 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1367, allocations: 0 / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1372, allocations: 181.3 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1373, allocations: 55.41 kB / 0.5445 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1375, allocations: 191.6 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1376, allocations: 29.7 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1376, allocations: 100.1 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.1377, allocations: 19.86 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1377, allocations: 21.7 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1379, allocations: 330.8 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.1379, allocations: 20 kB / 0.5451 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.138, allocations: 42.02 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1381, allocations: 65.62 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1381, allocations: 0 / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1383, allocations: 105.5 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1384, allocations: 9.875 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1384, allocations: 8.016 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1384, allocations: 0 / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1385, allocations: 16 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1385, allocations: 0 / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.1385, allocations: 192 / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1386, allocations: 4 kB / 0.5454 GB, free: 14.16 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.0001149/0.1387, allocations: 133.7 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1387, allocations: 15.91 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1388, allocations: 17.39 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1388, allocations: 4 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1388, allocations: 0 / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1388, allocations: 7.938 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.1393, allocations: 391.3 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1393, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.1393, allocations: 15.92 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1393, allocations: 4 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1394, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1394, allocations: 7.969 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1394, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1396, allocations: 200.3 kB / 0.5461 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1397, allocations: 85.02 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1397, allocations: 11.98 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1398, allocations: 3.938 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1398, allocations: 11.94 kB / 0.5462 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1399, allocations: 7.984 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.14, allocations: 148.2 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.14, allocations: 0 / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1403, allocations: 23.98 kB / 0.5464 GB, free: 12.98 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.00166/0.1419, allocations: 457.8 kB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1421, allocations: 67.89 kB / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1422, allocations: 0 / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.1422, allocations: 24 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1426, allocations: 30.97 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1431, allocations: 238.8 kB / 0.5472 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1434, allocations: 0.7041 MB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.1435, allocations: 17.17 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1435, allocations: 19.42 kB / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1435, allocations: 0 / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004969/0.1485, allocations: 1.742 MB / 0.5496 GB, free: 9.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.3743958584964275]