Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001352/0.001352, allocations: 111.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.001418/0.001418, allocations: 208.9 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.448/1.448, allocations: 227.4 MB / 252.3 MB, free: 68 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.2301/0.2301, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 87.42 kB / 491 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1268, allocations: 62.45 MB / 0.5404 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003363/0.1302, allocations: 1.739 MB / 0.5421 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.132, allocations: 1.017 MB / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.1321, allocations: 3.938 kB / 0.5431 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1325, allocations: 63.69 kB / 0.5432 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1328, allocations: 95.59 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1331, allocations: 79.67 kB / 0.5434 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1333, allocations: 95.75 kB / 0.5434 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1334, allocations: 27.97 kB / 0.5435 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.1335, allocations: 39.8 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.1336, allocations: 27.8 kB / 0.5435 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.1336, allocations: 4 kB / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1337, allocations: 51.91 kB / 0.5436 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1338, allocations: 27.91 kB / 0.5436 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.1339, allocations: 43.62 kB / 0.5437 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1341, allocations: 143.3 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1342, allocations: 0 / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1342, allocations: 0 / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1342, allocations: 4 kB / 0.5438 GB, free: 0.6914 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.0006203/0.1348, allocations: 442.5 kB / 0.5442 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1348, allocations: 12.03 kB / 0.5442 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1349, allocations: 16.83 kB / 0.5442 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1353, allocations: 225 kB / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1353, allocations: 8.25 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1353, allocations: 4.375 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1355, allocations: 61.98 kB / 0.5445 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1355, allocations: 0 / 0.5445 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1355, allocations: 0 / 0.5445 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1355, allocations: 4 kB / 0.5445 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.1356, allocations: 19.98 kB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.1361, allocations: 304.8 kB / 0.5448 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1362, allocations: 58.69 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1363, allocations: 20.84 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1363, allocations: 0 / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.1365, allocations: 71.33 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1365, allocations: 0 / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000586/0.1371, allocations: 189.3 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1372, allocations: 59.34 kB / 0.5452 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1375, allocations: 270.8 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1375, allocations: 25.7 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.1376, allocations: 112.1 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1376, allocations: 23.84 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1377, allocations: 21.72 kB / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1379, allocations: 334.8 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.1379, allocations: 20 kB / 0.546 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.138, allocations: 37.7 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1382, allocations: 65.62 kB / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1382, allocations: 0 / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.1384, allocations: 105.5 kB / 0.5462 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1384, allocations: 10.33 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1384, allocations: 0 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1384, allocations: 32 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1385, allocations: 23.94 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1385, allocations: 0 / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.1386, allocations: 0 / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1386, allocations: 11.98 kB / 0.5462 GB, free: 13.95 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.0001297/0.1387, allocations: 139.2 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1388, allocations: 15.91 kB / 0.5464 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1388, allocations: 21.39 kB / 0.5464 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1388, allocations: 4.125 kB / 0.5464 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1389, allocations: 4 kB / 0.5464 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1389, allocations: 7.922 kB / 0.5464 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.1394, allocations: 415.2 kB / 0.5468 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1394, allocations: 0 / 0.5468 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1394, allocations: 8 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1394, allocations: 0 / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1395, allocations: 0 / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1395, allocations: 7.938 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1395, allocations: 3.938 kB / 0.5468 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1397, allocations: 208.5 kB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.1398, allocations: 93 kB / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.1399, allocations: 4 kB / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.1399, allocations: 4.312 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.14, allocations: 11.98 kB / 0.5471 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.14, allocations: 4 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1402, allocations: 200.6 kB / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1402, allocations: 0 / 0.5473 GB, free: 12.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1405, allocations: 27.98 kB / 0.5474 GB, free: 12.68 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.001754/0.1422, allocations: 468.5 kB / 0.5478 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1425, allocations: 51.97 kB / 0.5479 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1425, allocations: 0 / 0.5479 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.1426, allocations: 35.92 kB / 0.5479 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1429, allocations: 34.53 kB / 0.5479 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.1435, allocations: 321.4 kB / 0.5482 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.144, allocations: 0.7157 MB / 0.5489 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.144, allocations: 19.42 kB / 0.549 GB, free: 11.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.144, allocations: 0 / 0.549 GB, free: 11.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004471/0.1485, allocations: 2.113 MB / 0.551 GB, free: 9.062 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.80785866396036]