Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001717/0.001717, allocations: 122 kB / 18.45 MB, free: 4.59 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.001821/0.001821, allocations: 206.5 kB / 21.4 MB, free: 1.645 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.531/1.531, allocations: 227.4 MB / 251.6 MB, free: 48 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.2741/0.2741, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 87.42 kB / 490.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1336, allocations: 62.44 MB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003356/0.137, allocations: 1.743 MB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1397, allocations: 1.628 MB / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.1398, allocations: 0 / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1401, allocations: 39.77 kB / 0.5431 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1405, allocations: 103.5 kB / 0.5432 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1407, allocations: 75.67 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1409, allocations: 99.75 kB / 0.5434 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.141, allocations: 19.92 kB / 0.5434 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.1411, allocations: 47.77 kB / 0.5434 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1413, allocations: 43.8 kB / 0.5435 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1413, allocations: 4 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.1415, allocations: 107.9 kB / 0.5436 GB, free: 220 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1416, allocations: 23.91 kB / 0.5436 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1417, allocations: 35.73 kB / 0.5436 GB, free: 160 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.142, allocations: 175.4 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.142, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.142, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.142, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.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.0006307/0.1427, allocations: 434.5 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1427, allocations: 8.031 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.1428, allocations: 16.84 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1431, allocations: 212.6 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1432, allocations: 8.375 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1432, allocations: 8.109 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1434, allocations: 67.39 kB / 0.5445 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1434, allocations: 0 / 0.5445 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1434, allocations: 4 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1434, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.1435, allocations: 19.98 kB / 0.5445 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.144, allocations: 288.8 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1441, allocations: 54.67 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.1442, allocations: 24.84 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1442, allocations: 4 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1444, allocations: 67.39 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1444, allocations: 7.875 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005603/0.145, allocations: 169.5 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1451, allocations: 77.11 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1453, allocations: 170.4 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1453, allocations: 29.7 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.1454, allocations: 92.14 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1454, allocations: 35.72 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1454, allocations: 25.72 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1456, allocations: 322.8 kB / 0.5458 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1457, allocations: 19.98 kB / 0.5459 GB, free: 13.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.1457, allocations: 46.56 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1459, allocations: 62.02 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1459, allocations: 0 / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1461, allocations: 97.64 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1461, allocations: 4 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1462, allocations: 4 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1462, allocations: 4.188 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.1463, allocations: 23.97 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1463, allocations: 7.938 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1463, allocations: 7.938 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1464, allocations: 0 / 0.5461 GB, free: 13.36 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.0001072/0.1465, allocations: 125.8 kB / 0.5462 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1465, allocations: 7.953 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.1465, allocations: 12.72 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1466, allocations: 0 / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1466, allocations: 4 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1466, allocations: 7.938 kB / 0.5463 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.1471, allocations: 395.3 kB / 0.5466 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1471, allocations: 3.984 kB / 0.5466 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.1472, allocations: 8 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1472, allocations: 0 / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1472, allocations: 7.938 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1472, allocations: 0 / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1472, allocations: 3.938 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1475, allocations: 208.5 kB / 0.5469 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.1475, allocations: 89.05 kB / 0.5469 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1476, allocations: 7.938 kB / 0.547 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1477, allocations: 4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1477, allocations: 7.984 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1477, allocations: 4 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1478, allocations: 131.9 kB / 0.5471 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1478, allocations: 0 / 0.5471 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.1482, allocations: 47.86 kB / 0.5471 GB, free: 12.2 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.001891/0.1501, allocations: 0.5369 MB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1503, allocations: 63.97 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1503, allocations: 0 / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1504, allocations: 27.92 kB / 0.5478 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1507, allocations: 41.34 kB / 0.5478 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.1512, allocations: 186.9 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1516, allocations: 0.7003 MB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1516, allocations: 16.88 kB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1517, allocations: 23.42 kB / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1517, allocations: 0 / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Templates: time 0.006006/0.1577, allocations: 2.355 MB / 0.551 GB, free: 8.391 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.3816461861133575]