Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001282/0.001282, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001426/0.001426, allocations: 212.4 kB / 23 MB, free: 5.609 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.606/1.606, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.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.2588/0.2588, allocations: 46.91 MB / 359.4 MB, free: 4.879 MB / 286.1 MB " [Timeout remaining time 179] 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 87.84 kB / 0.4947 GB, free: 8.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5308, allocations: 66 MB / 0.5592 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004018/0.5348, allocations: 1.741 MB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.5373, allocations: 1.045 MB / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.5374, allocations: 0 / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.5378, allocations: 43.77 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.5382, allocations: 91.59 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.5384, allocations: 83.67 kB / 0.5621 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.5386, allocations: 99.69 kB / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.5388, allocations: 11.98 kB / 0.5622 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5389, allocations: 43.8 kB / 0.5623 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.539, allocations: 39.7 kB / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.539, allocations: 4 kB / 0.5623 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.5391, allocations: 39.98 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.5392, allocations: 19.92 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.5393, allocations: 35.75 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.5396, allocations: 118.2 kB / 0.5625 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5396, allocations: 4 kB / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5396, allocations: 7.938 kB / 0.5625 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.5396, allocations: 0 / 0.5625 GB, free: 1.77 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.0007754/0.5404, allocations: 433.3 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5404, allocations: 12.03 kB / 0.5629 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.5405, allocations: 8.891 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.5409, allocations: 212.8 kB / 0.5631 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5409, allocations: 384 / 0.5631 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.541, allocations: 8.359 kB / 0.5632 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5412, allocations: 61.98 kB / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5412, allocations: 0 / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5412, allocations: 0 / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5412, allocations: 0 / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.5413, allocations: 23.92 kB / 0.5632 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.5418, allocations: 284.9 kB / 0.5635 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.542, allocations: 58.69 kB / 0.5636 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.5421, allocations: 20.84 kB / 0.5636 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.5421, allocations: 3.938 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5423, allocations: 71.38 kB / 0.5637 GB, free: 444 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.647e-06/0.5423, allocations: 3.984 kB / 0.5637 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.5429, allocations: 177.3 kB / 0.5638 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.543, allocations: 55.41 kB / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.5432, allocations: 198.4 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5432, allocations: 25.7 kB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.5433, allocations: 100.1 kB / 0.5642 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.5434, allocations: 27.78 kB / 0.5642 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.5434, allocations: 25.72 kB / 0.5642 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5436, allocations: 326.8 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.5436, allocations: 27.98 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.5437, allocations: 33.7 kB / 0.5646 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.5438, allocations: 61.59 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5438, allocations: 0 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.544, allocations: 113.6 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5441, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5441, allocations: 80 / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5441, allocations: 8.031 kB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.5442, allocations: 15.98 kB / 0.5648 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5442, allocations: 4.172 kB / 0.5648 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.5442, allocations: 4 kB / 0.5648 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5443, allocations: 7.938 kB / 0.5648 GB, free: 15.17 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.0001828/0.5444, allocations: 129.8 kB / 0.5649 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.5445, allocations: 11.91 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.5447, allocations: 111 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5448, allocations: 11.98 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5448, allocations: 0 / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5448, allocations: 0 / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.5453, allocations: 395.3 kB / 0.5655 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5453, allocations: 0 / 0.5655 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.5454, allocations: 8 kB / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.5454, allocations: 3.984 kB / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5454, allocations: 4.375 kB / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5454, allocations: 7.969 kB / 0.5655 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5454, allocations: 4 kB / 0.5655 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.5458, allocations: 204.2 kB / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.5458, allocations: 85.06 kB / 0.5658 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5459, allocations: 0 / 0.5658 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.5459, allocations: 11.92 kB / 0.5658 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.546, allocations: 12 kB / 0.5658 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.546, allocations: 0 / 0.5658 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.5462, allocations: 156.2 kB / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5462, allocations: 0 / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.5464, allocations: 27.92 kB / 0.566 GB, free: 13.89 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.001809/0.5482, allocations: 451.1 kB / 0.5664 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.5485, allocations: 59.89 kB / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5485, allocations: 0 / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.5486, allocations: 31.92 kB / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.549, allocations: 29.22 kB / 0.5665 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.5497, allocations: 250.7 kB / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.5501, allocations: 0.7041 MB / 0.5674 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.5501, allocations: 12.88 kB / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.5502, allocations: 15.44 kB / 0.5675 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5502, allocations: 0 / 0.5675 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.00569/0.5559, allocations: 1.771 MB / 0.5692 GB, free: 10.7 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.701891912147403]