Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001529/0.001529, allocations: 117.3 kB / 18.44 MB, free: 4.695 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.001961/0.001961, allocations: 210.6 kB / 21.4 MB, free: 1.746 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.54/1.54, allocations: 227.4 MB / 251.6 MB, free: 88 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.2692/0.2692, allocations: 46.17 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 79.81 kB / 490.3 MB, free: 27.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 62.45 MB / 0.5398 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003713/0.1309, allocations: 1.748 MB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1329, allocations: 1.021 MB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.133, allocations: 3.938 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1334, allocations: 95.67 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.1338, allocations: 115.6 kB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.134, allocations: 83.67 kB / 0.5428 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1342, allocations: 123.7 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1343, allocations: 12 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1345, allocations: 59.75 kB / 0.5429 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1346, allocations: 71.69 kB / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1346, allocations: 4 kB / 0.543 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1348, allocations: 55.98 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.1348, allocations: 27.91 kB / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.1349, allocations: 43.67 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1352, allocations: 139.4 kB / 0.5433 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1352, allocations: 3.938 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1352, allocations: 0 / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1352, allocations: 0 / 0.5433 GB, free: 0.5312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006829/0.1359, allocations: 462.4 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.136, allocations: 8.031 kB / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.136, allocations: 16.84 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.1364, allocations: 216.9 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1364, allocations: 8.375 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1364, allocations: 384 / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1366, allocations: 61.98 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1366, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1367, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1367, allocations: 4 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.1368, allocations: 35.91 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1372, allocations: 300.8 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1375, allocations: 62.48 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.1376, allocations: 20.98 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1376, allocations: 3.938 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1378, allocations: 75.38 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1378, allocations: 0 / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008052/0.1386, allocations: 249.7 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1387, allocations: 51.41 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1389, allocations: 234.1 kB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.139, allocations: 33.7 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.139, allocations: 112.1 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1391, allocations: 35.73 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.1391, allocations: 29.7 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1393, allocations: 330.8 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.1394, allocations: 27.98 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.1395, allocations: 47.39 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1396, allocations: 85.75 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1396, allocations: 3.938 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.1399, allocations: 129.5 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1399, allocations: 8 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1399, allocations: 0 / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1399, allocations: 0 / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.14, allocations: 19.98 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.14, allocations: 4 kB / 0.5458 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.1401, allocations: 7.969 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1401, allocations: 8 kB / 0.5458 GB, free: 13.66 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 (13): * Single equations (assignments): 13 * 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.000123/0.1402, allocations: 135.5 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1403, allocations: 15.91 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.1403, allocations: 21.34 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1404, allocations: 3.984 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1404, allocations: 0 / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1404, allocations: 3.938 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.141, allocations: 460 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.141, allocations: 0 / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.141, allocations: 15.94 kB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.141, allocations: 7.938 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1411, allocations: 0 / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1411, allocations: 4 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1411, allocations: 3.984 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1414, allocations: 233.2 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1414, allocations: 92.95 kB / 0.5468 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1415, allocations: 4 kB / 0.5468 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1416, allocations: 7.984 kB / 0.5468 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1416, allocations: 11.98 kB / 0.5468 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1416, allocations: 11.98 kB / 0.5468 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1418, allocations: 176.4 kB / 0.547 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1418, allocations: 0 / 0.547 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1421, allocations: 31.92 kB / 0.547 GB, free: 12.32 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 (11): * Single equations (assignments): 9 * 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.001959/0.144, allocations: 0.4919 MB / 0.5475 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1443, allocations: 83.84 kB / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1443, allocations: 0 / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1444, allocations: 43.98 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1448, allocations: 52.78 kB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.1455, allocations: 288.3 kB / 0.548 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.1459, allocations: 0.712 MB / 0.5487 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.146, allocations: 24.58 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.146, allocations: 23.42 kB / 0.5487 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.146, allocations: 0 / 0.5487 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Templates: time 0.00564/0.1517, allocations: 2.014 MB / 0.5507 GB, free: 8.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.227284649387002]