Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.002006/0.002006, 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.002551/0.002551, allocations: 210.6 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.573/1.573, allocations: 227.4 MB / 252.3 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.2419/0.2419, 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 82.73 kB / 491 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1159, allocations: 62.45 MB / 0.5404 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003478/0.1194, allocations: 1.768 MB / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1215, allocations: 1.028 MB / 0.5432 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1216, allocations: 4 kB / 0.5432 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.122, allocations: 111.7 kB / 0.5433 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.1224, allocations: 123.5 kB / 0.5434 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1227, allocations: 83.66 kB / 0.5435 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.123, allocations: 135.7 kB / 0.5436 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1231, allocations: 25.33 kB / 0.5436 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1232, allocations: 63.77 kB / 0.5437 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1233, allocations: 71.73 kB / 0.5438 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1234, allocations: 8 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1235, allocations: 59.97 kB / 0.5438 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.1236, allocations: 31.86 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.1237, allocations: 47.61 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.124, allocations: 163.3 kB / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.124, allocations: 0 / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.124, allocations: 0 / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.124, allocations: 3.938 kB / 0.5441 GB, free: 404 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006813/0.1247, allocations: 477.2 kB / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1247, allocations: 8.031 kB / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1248, allocations: 16.84 kB / 0.5445 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1251, allocations: 237 kB / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1251, allocations: 384 / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1251, allocations: 4.375 kB / 0.5448 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1253, allocations: 73.97 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1254, allocations: 7.953 kB / 0.5449 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1254, allocations: 8 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1254, allocations: 0 / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1255, allocations: 39.91 kB / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.126, allocations: 320.8 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.1263, allocations: 74.53 kB / 0.5453 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.1264, allocations: 36.84 kB / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1264, allocations: 0 / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1266, allocations: 87.41 kB / 0.5454 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1266, allocations: 3.938 kB / 0.5454 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008993/0.1275, allocations: 300.1 kB / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1276, allocations: 59.39 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1279, allocations: 259.7 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1279, allocations: 37.69 kB / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.128, allocations: 112.1 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.1281, allocations: 47.58 kB / 0.5462 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1281, allocations: 29.72 kB / 0.5462 GB, free: 13.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1283, allocations: 330.8 kB / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.1284, allocations: 36.08 kB / 0.5466 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1285, allocations: 61.64 kB / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1287, allocations: 109.6 kB / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1287, allocations: 0 / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002958/0.129, allocations: 153.6 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1291, allocations: 7.984 kB / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1291, allocations: 0 / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1291, allocations: 4 kB / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1292, allocations: 31.95 kB / 0.5469 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1292, allocations: 3.938 kB / 0.5469 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.1293, allocations: 4 kB / 0.5469 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1293, allocations: 8 kB / 0.5469 GB, free: 13.23 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 (16): * Single equations (assignments): 16 * 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.0001432/0.1295, allocations: 139.5 kB / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1295, allocations: 19.86 kB / 0.5471 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.1296, allocations: 25.52 kB / 0.5471 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1296, allocations: 4 kB / 0.5471 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1296, allocations: 3.938 kB / 0.5471 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1296, allocations: 4 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.1303, allocations: 0.5001 MB / 0.5476 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1303, allocations: 0 / 0.5476 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.1304, allocations: 19.94 kB / 0.5476 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.1304, allocations: 4 kB / 0.5476 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1304, allocations: 7.984 kB / 0.5476 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1304, allocations: 0 / 0.5476 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1304, allocations: 4.062 kB / 0.5476 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.1308, allocations: 263.7 kB / 0.5479 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.1309, allocations: 89.02 kB / 0.548 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1309, allocations: 8 kB / 0.548 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.131, allocations: 0 / 0.548 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.131, allocations: 23.92 kB / 0.548 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1311, allocations: 4 kB / 0.548 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1313, allocations: 201.4 kB / 0.5482 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1313, allocations: 0 / 0.5482 GB, free: 11.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1316, allocations: 31.94 kB / 0.5482 GB, free: 11.78 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 (14): * Single equations (assignments): 12 * 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.001979/0.1336, allocations: 0.508 MB / 0.5487 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1338, allocations: 103.9 kB / 0.5488 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1339, allocations: 0 / 0.5488 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.134, allocations: 51.92 kB / 0.5489 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1344, allocations: 42.77 kB / 0.5489 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.1351, allocations: 370.1 kB / 0.5493 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1355, allocations: 0.7319 MB / 0.55 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1355, allocations: 19.44 kB / 0.55 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1355, allocations: 0 / 0.55 GB, free: 10.1 MB / 414.1 MB Notification: Performance of Templates: time 0.005471/0.141, allocations: 2.532 MB / 0.5525 GB, free: 7.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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: 8.01463926397264]