Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001764/0.001764, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002262/0.002261, allocations: 206.6 kB / 21.41 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.559/1.559, allocations: 227.4 MB / 251.7 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.2454/0.2454, allocations: 46.16 MB / 351.1 MB, free: 14.31 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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 83.48 kB / 490.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.139, allocations: 62.45 MB / 0.5398 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003357/0.1424, allocations: 1.752 MB / 0.5415 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1442, allocations: 1.028 MB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.1443, allocations: 0 / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1447, allocations: 83.69 kB / 0.5426 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.1451, allocations: 131.4 kB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1453, allocations: 83.67 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1455, allocations: 119.7 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1457, allocations: 15.98 kB / 0.5429 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1458, allocations: 55.77 kB / 0.543 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1459, allocations: 71.73 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1459, allocations: 4 kB / 0.543 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1461, allocations: 55.98 kB / 0.5431 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.1461, allocations: 27.91 kB / 0.5431 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.1462, allocations: 43.62 kB / 0.5432 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1465, allocations: 143.3 kB / 0.5433 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1465, allocations: 4 kB / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1465, allocations: 0 / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1465, allocations: 0 / 0.5433 GB, free: 0.5391 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.0006952/0.1472, allocations: 446.4 kB / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1473, allocations: 8.031 kB / 0.5437 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1473, allocations: 16.84 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1477, allocations: 216.9 kB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1478, allocations: 8.312 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.1478, allocations: 16.36 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.148, allocations: 61.97 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.148, allocations: 0 / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1481, allocations: 4 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1481, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.1482, allocations: 19.98 kB / 0.5441 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.1486, allocations: 300.8 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1489, allocations: 70.48 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.149, allocations: 20.97 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.149, allocations: 7.984 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1492, allocations: 63.39 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1492, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008576/0.1501, allocations: 257.7 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1501, allocations: 55.34 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1504, allocations: 234.1 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1504, allocations: 29.7 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1505, allocations: 112.1 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1505, allocations: 35.73 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1506, allocations: 25.72 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1507, allocations: 330.8 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.1508, allocations: 32 kB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.1509, allocations: 45.69 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1511, allocations: 81.59 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1511, allocations: 3.938 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002247/0.1513, allocations: 121.6 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1513, allocations: 8 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1513, allocations: 4.031 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1514, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.1515, allocations: 31.92 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1515, allocations: 0 / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1515, allocations: 3.938 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1515, allocations: 4 kB / 0.5459 GB, free: 13.68 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.0001285/0.1517, allocations: 131.5 kB / 0.546 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.1517, allocations: 15.91 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.1518, allocations: 29.39 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1518, allocations: 0 / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1518, allocations: 4 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1518, allocations: 7.938 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.1524, allocations: 452 kB / 0.5465 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1524, allocations: 3.938 kB / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1525, allocations: 15.98 kB / 0.5465 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1525, allocations: 7.938 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1525, allocations: 8 kB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1525, allocations: 4 kB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1525, allocations: 0 / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1528, allocations: 225.1 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.1529, allocations: 92.95 kB / 0.5468 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1529, allocations: 12 kB / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.153, allocations: 4 kB / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.1531, allocations: 15.92 kB / 0.5468 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1531, allocations: 4 kB / 0.5468 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1532, allocations: 172.4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 0 / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1535, allocations: 27.94 kB / 0.547 GB, free: 12.36 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.001988/0.1555, allocations: 0.5086 MB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1558, allocations: 75.91 kB / 0.5476 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1558, allocations: 0 / 0.5476 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1559, allocations: 43.92 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1563, allocations: 36.92 kB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.1569, allocations: 300.4 kB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1572, allocations: 0.7196 MB / 0.5487 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.1573, allocations: 20.62 kB / 0.5487 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1573, allocations: 15.44 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1573, allocations: 0 / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005832/0.1632, allocations: 2.021 MB / 0.5507 GB, free: 8.766 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.293313955888152]