Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001325/0.001325, allocations: 114 kB / 19.13 MB, free: 3.945 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.001568/0.001568, allocations: 200.9 kB / 22.07 MB, free: 1 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.442/1.442, 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.2296/0.2296, allocations: 46.17 MB / 351.8 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.88 kB / 491 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 62.45 MB / 0.5404 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003232/0.1227, allocations: 1.75 MB / 0.5422 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1245, allocations: 1.02 MB / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.1246, allocations: 0 / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1249, allocations: 111.7 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1253, allocations: 127.5 kB / 0.5434 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1255, allocations: 79.72 kB / 0.5435 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1257, allocations: 131.6 kB / 0.5436 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1259, allocations: 27.95 kB / 0.5436 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.126, allocations: 55.77 kB / 0.5437 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1261, allocations: 63.81 kB / 0.5437 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1261, allocations: 8 kB / 0.5437 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1263, allocations: 59.91 kB / 0.5438 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.1263, allocations: 31.91 kB / 0.5438 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.1264, allocations: 43.69 kB / 0.5439 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1267, allocations: 167.2 kB / 0.544 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1267, allocations: 4 kB / 0.544 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1267, allocations: 0 / 0.544 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1267, allocations: 0 / 0.544 GB, free: 480 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006614/0.1274, allocations: 466.3 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1274, allocations: 8.031 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1275, allocations: 16.84 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1278, allocations: 225.1 kB / 0.5447 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1279, allocations: 8.312 kB / 0.5447 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1279, allocations: 8.312 kB / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1281, allocations: 73.97 kB / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1281, allocations: 0 / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1281, allocations: 0 / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1281, allocations: 4 kB / 0.5448 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.1282, allocations: 27.98 kB / 0.5448 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1287, allocations: 328.6 kB / 0.5451 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.129, allocations: 74.55 kB / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.129, allocations: 20.86 kB / 0.5452 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1291, allocations: 3.984 kB / 0.5452 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1292, allocations: 83.56 kB / 0.5453 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1292, allocations: 0 / 0.5453 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008414/0.1301, allocations: 277.7 kB / 0.5456 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1301, allocations: 55.34 kB / 0.5456 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1304, allocations: 263.7 kB / 0.5459 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1305, allocations: 25.7 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.1306, allocations: 112.1 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.1306, allocations: 43.67 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.1307, allocations: 33.7 kB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1308, allocations: 326.8 kB / 0.5464 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1309, allocations: 35.98 kB / 0.5464 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.131, allocations: 59.94 kB / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1312, allocations: 89.64 kB / 0.5466 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1312, allocations: 0 / 0.5466 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002579/0.1315, allocations: 141.5 kB / 0.5467 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1315, allocations: 4 kB / 0.5467 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1315, allocations: 4.031 kB / 0.5467 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1315, allocations: 4 kB / 0.5467 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.1316, allocations: 16 kB / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1316, allocations: 7.984 kB / 0.5467 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1317, allocations: 11.89 kB / 0.5468 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1317, allocations: 4 kB / 0.5468 GB, free: 13.43 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 (14): * Single equations (assignments): 14 * 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.0001401/0.1319, allocations: 139.3 kB / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.1319, allocations: 15.91 kB / 0.5469 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.132, allocations: 25.39 kB / 0.5469 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.132, allocations: 8 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.132, allocations: 3.938 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.132, allocations: 3.938 kB / 0.5469 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.1326, allocations: 464.1 kB / 0.5474 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1326, allocations: 4 kB / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.1327, allocations: 19.92 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1327, allocations: 3.938 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1327, allocations: 8.062 kB / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1327, allocations: 0 / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1327, allocations: 4 kB / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.1331, allocations: 253 kB / 0.5477 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1331, allocations: 92.95 kB / 0.5478 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1332, allocations: 12 kB / 0.5478 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1333, allocations: 0 / 0.5478 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1333, allocations: 15.98 kB / 0.5478 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1333, allocations: 8 kB / 0.5478 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1335, allocations: 197.4 kB / 0.548 GB, free: 12.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1336, allocations: 0 / 0.548 GB, free: 12.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1338, allocations: 31.94 kB / 0.548 GB, free: 12.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001946/0.1358, allocations: 0.5098 MB / 0.5485 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1361, allocations: 87.91 kB / 0.5486 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1361, allocations: 0 / 0.5486 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.1362, allocations: 43.92 kB / 0.5486 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1366, allocations: 49.34 kB / 0.5487 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.1372, allocations: 346.4 kB / 0.549 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1376, allocations: 0.724 MB / 0.5497 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.1377, allocations: 19.44 kB / 0.5497 GB, free: 10.4 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1377, allocations: 0 / 0.5497 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Templates: time 0.004796/0.1425, allocations: 2.438 MB / 0.5521 GB, free: 7.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.964343294035643]