Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001557/0.001557, allocations: 115.5 kB / 18.44 MB, free: 4.723 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.001543/0.001543, allocations: 205.8 kB / 21.4 MB, free: 1.773 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.579/1.579, allocations: 227.4 MB / 251.6 MB, free: 100 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.2805/0.2805, allocations: 46.17 MB / 351.1 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002302, allocations: 82.94 kB / 490.3 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 62.45 MB / 0.5398 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003344/0.1426, allocations: 1.728 MB / 0.5414 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1444, allocations: 1.02 MB / 0.5424 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.1445, allocations: 4 kB / 0.5424 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1448, allocations: 47.7 kB / 0.5425 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1452, allocations: 91.61 kB / 0.5426 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1454, allocations: 79.66 kB / 0.5426 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1456, allocations: 99.75 kB / 0.5427 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1457, allocations: 15.98 kB / 0.5428 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.1458, allocations: 43.73 kB / 0.5428 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.1459, allocations: 35.78 kB / 0.5428 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.146, allocations: 4 kB / 0.5428 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1461, allocations: 47.97 kB / 0.5429 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.1462, allocations: 23.92 kB / 0.5429 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1462, allocations: 31.75 kB / 0.5429 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1465, allocations: 111.5 kB / 0.543 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1465, allocations: 7.938 kB / 0.5431 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1465, allocations: 0 / 0.5431 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1465, allocations: 0 / 0.5431 GB, free: 0.8984 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.0006471/0.1472, allocations: 434.5 kB / 0.5435 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1472, allocations: 12.03 kB / 0.5435 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.1473, allocations: 8.891 kB / 0.5435 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1476, allocations: 216.8 kB / 0.5437 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1476, allocations: 384 / 0.5437 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1477, allocations: 4.375 kB / 0.5437 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1478, allocations: 61.98 kB / 0.5438 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1478, allocations: 0 / 0.5438 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1479, allocations: 3.984 kB / 0.5438 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1479, allocations: 4 kB / 0.5438 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.148, allocations: 19.94 kB / 0.5438 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.1484, allocations: 288.9 kB / 0.5441 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1486, allocations: 50.69 kB / 0.5441 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1487, allocations: 20.84 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1487, allocations: 15.94 kB / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1489, allocations: 59.39 kB / 0.5442 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1489, allocations: 0 / 0.5442 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.1495, allocations: 185.3 kB / 0.5444 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.1495, allocations: 55.41 kB / 0.5444 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1497, allocations: 187.6 kB / 0.5446 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1498, allocations: 37.7 kB / 0.5446 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1498, allocations: 100.1 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1499, allocations: 19.86 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1499, allocations: 25.7 kB / 0.5448 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1501, allocations: 326.8 kB / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.1502, allocations: 19.98 kB / 0.5451 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.1503, allocations: 33.72 kB / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1504, allocations: 65.64 kB / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1504, allocations: 3.938 kB / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1506, allocations: 109.5 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1506, allocations: 4 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1506, allocations: 0 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1506, allocations: 0 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.1507, allocations: 20.19 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1507, allocations: 0 / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.1508, allocations: 11.95 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1508, allocations: 4 kB / 0.5454 GB, free: 14.3 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.0001155/0.1509, allocations: 127.3 kB / 0.5455 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.151, allocations: 19.89 kB / 0.5455 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.151, allocations: 17.39 kB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.151, allocations: 0 / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.151, allocations: 4 kB / 0.5455 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.151, allocations: 4.312 kB / 0.5455 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1515, allocations: 391.3 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1515, allocations: 8 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.1516, allocations: 7.938 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1516, allocations: 4 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1516, allocations: 0 / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1516, allocations: 3.938 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1516, allocations: 4 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1519, allocations: 204.4 kB / 0.5461 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1519, allocations: 89 kB / 0.5462 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1519, allocations: 4 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.152, allocations: 7.938 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1521, allocations: 11.92 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1521, allocations: 4 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1522, allocations: 152.2 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1522, allocations: 0 / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1525, allocations: 27.94 kB / 0.5464 GB, free: 13.12 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.001634/0.1541, allocations: 456.7 kB / 0.5468 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1544, allocations: 67.91 kB / 0.5469 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1544, allocations: 0 / 0.5469 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.1544, allocations: 23.98 kB / 0.5469 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1548, allocations: 34.94 kB / 0.547 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.1552, allocations: 234.6 kB / 0.5472 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1556, allocations: 0.7081 MB / 0.5479 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.1557, allocations: 13.19 kB / 0.5479 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1557, allocations: 15.44 kB / 0.5479 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1557, allocations: 4 kB / 0.5479 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Templates: time 0.004755/0.1605, allocations: 1.743 MB / 0.5496 GB, free: 9.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.2760736690834165]