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.001809/0.001809, 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.002304/0.002304, 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.617/1.617, 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.2492/0.2492, 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.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.002272/0.002272, allocations: 79.72 kB / 491 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1414, allocations: 62.45 MB / 0.5404 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004998/0.1465, allocations: 1.747 MB / 0.5421 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1487, allocations: 1.024 MB / 0.5431 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1489, allocations: 0 / 0.5431 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.1493, allocations: 95.69 kB / 0.5432 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.1499, allocations: 115.5 kB / 0.5434 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1502, allocations: 83.72 kB / 0.5434 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1505, allocations: 123.6 kB / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1506, allocations: 19.97 kB / 0.5436 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1507, allocations: 55.77 kB / 0.5436 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1509, allocations: 63.81 kB / 0.5437 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1509, allocations: 4 kB / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1511, allocations: 67.91 kB / 0.5438 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.1512, allocations: 23.91 kB / 0.5438 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.1512, allocations: 39.69 kB / 0.5438 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1515, allocations: 147.3 kB / 0.544 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1515, allocations: 0 / 0.544 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1515, allocations: 0 / 0.544 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1516, allocations: 0 / 0.544 GB, free: 0.543 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.0007142/0.1523, allocations: 454.4 kB / 0.5444 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1523, allocations: 12.03 kB / 0.5444 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.1524, allocations: 12.84 kB / 0.5444 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1528, allocations: 220.9 kB / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1528, allocations: 4.375 kB / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1529, allocations: 12.25 kB / 0.5446 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1531, allocations: 61.98 kB / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1531, allocations: 0 / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1531, allocations: 0 / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1531, allocations: 0 / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.1532, allocations: 31.97 kB / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1537, allocations: 300.8 kB / 0.545 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1539, allocations: 58.48 kB / 0.5451 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.154, allocations: 24.98 kB / 0.5451 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.154, allocations: 3.938 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1542, allocations: 75.38 kB / 0.5452 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1542, allocations: 0 / 0.5452 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000831/0.155, allocations: 245.7 kB / 0.5454 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.1551, allocations: 59.34 kB / 0.5455 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1553, allocations: 238.1 kB / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1554, allocations: 29.7 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.1555, allocations: 116.1 kB / 0.5458 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.1555, allocations: 27.75 kB / 0.5459 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1556, allocations: 29.7 kB / 0.5459 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1557, allocations: 330.8 kB / 0.5462 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.1558, allocations: 27.98 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.1559, allocations: 47.95 kB / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.156, allocations: 81.7 kB / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1561, allocations: 0 / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/0.1563, allocations: 133.5 kB / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1563, allocations: 4 kB / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1563, allocations: 0 / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1563, allocations: 4 kB / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.1564, allocations: 23.92 kB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1564, allocations: 0 / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.1565, allocations: 11.97 kB / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1565, allocations: 8 kB / 0.5465 GB, free: 13.67 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.0001223/0.1566, allocations: 131.4 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1567, allocations: 15.91 kB / 0.5467 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.1567, allocations: 17.39 kB / 0.5467 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1567, allocations: 4 kB / 0.5467 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1568, allocations: 0 / 0.5467 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1568, allocations: 3.938 kB / 0.5467 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.1574, allocations: 464 kB / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1574, allocations: 0 / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1574, allocations: 12 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1574, allocations: 3.938 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1575, allocations: 7.938 kB / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1575, allocations: 7.922 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1575, allocations: 0 / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1578, allocations: 237.2 kB / 0.5474 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1578, allocations: 92.95 kB / 0.5475 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1579, allocations: 3.984 kB / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.158, allocations: 12 kB / 0.5475 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.158, allocations: 7.984 kB / 0.5475 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.158, allocations: 7.938 kB / 0.5475 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1582, allocations: 176.4 kB / 0.5477 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 4 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1585, allocations: 31.92 kB / 0.5477 GB, free: 12.34 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.001926/0.1604, allocations: 0.4942 MB / 0.5482 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1606, allocations: 83.91 kB / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1607, allocations: 0 / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.1607, allocations: 43.98 kB / 0.5483 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1611, allocations: 45.36 kB / 0.5484 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.1617, allocations: 329.9 kB / 0.5487 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1621, allocations: 0.7158 MB / 0.5494 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.1622, allocations: 19.56 kB / 0.5494 GB, free: 10.76 MB / 414.1 MB Notification: Performance of SimCode: time 1.983e-06/0.1622, allocations: 0 / 0.5494 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Templates: time 0.004671/0.1668, allocations: 2.278 MB / 0.5516 GB, free: 8.492 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.006382316001691]