Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001376/0.001376, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001556/0.001556, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.53/1.53, allocations: 230.3 MB / 258 MB, free: 8.234 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.235/0.235, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 80.14 kB / 0.4971 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5324, allocations: 66.02 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004908/0.5374, allocations: 1.943 MB / 0.5635 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.5401, allocations: 1.16 MB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.5403, allocations: 0 / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.5411, allocations: 231.3 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.5418, allocations: 215.2 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.5422, allocations: 123.5 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.5427, allocations: 255.3 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.5429, allocations: 25.59 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.5431, allocations: 131.5 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.5434, allocations: 167.5 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.5435, allocations: 12 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.5436, allocations: 71.95 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.5438, allocations: 59.77 kB / 0.5659 GB, free: 212 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.5439, allocations: 91.23 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.5444, allocations: 241.7 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.5444, allocations: 4 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5444, allocations: 0 / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.5444, allocations: 0 / 0.5662 GB, free: 15.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001/0.5454, allocations: 0.4964 MB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.5454, allocations: 16.03 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.5455, allocations: 28.75 kB / 0.5667 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.546, allocations: 234.4 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5461, allocations: 8.375 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.5461, allocations: 4.375 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.5464, allocations: 111.7 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5465, allocations: 7.938 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5465, allocations: 8 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5465, allocations: 0 / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.5467, allocations: 39.97 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.5473, allocations: 451.8 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5478, allocations: 117.2 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.5479, allocations: 41.77 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5479, allocations: 7.984 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.5482, allocations: 120.5 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.5482, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001476/0.5497, allocations: 0.5049 MB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.5498, allocations: 85.03 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.5503, allocations: 448.5 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5503, allocations: 33.7 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5505, allocations: 160.5 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.5506, allocations: 75.41 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.5507, allocations: 41.7 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5508, allocations: 346.8 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.551, allocations: 55.97 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5511, allocations: 88.7 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.5515, allocations: 167.5 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5515, allocations: 0 / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004611/0.5519, allocations: 237.2 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5519, allocations: 7.984 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.552, allocations: 4 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.552, allocations: 8 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5521, allocations: 39.98 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5521, allocations: 0 / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.5522, allocations: 11.95 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.5522, allocations: 15.97 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000215/0.5525, allocations: 174.7 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.5525, allocations: 31.81 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.5531, allocations: 268.9 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.5531, allocations: 4 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.5531, allocations: 0 / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5531, allocations: 0 / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5541, allocations: 0.7068 MB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5541, allocations: 4 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.5542, allocations: 31.92 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5542, allocations: 0 / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.5542, allocations: 8 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5542, allocations: 4 kB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5542, allocations: 4 kB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.5547, allocations: 429.4 kB / 0.5717 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.5548, allocations: 27.77 kB / 0.5717 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.5548, allocations: 8 kB / 0.5717 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.555, allocations: 16.17 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.555, allocations: 23.91 kB / 0.5717 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.555, allocations: 23.88 kB / 0.5717 GB, free: 9.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.5554, allocations: 331 kB / 0.5721 GB, free: 9.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5554, allocations: 0 / 0.5721 GB, free: 9.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.5558, allocations: 51.92 kB / 0.5721 GB, free: 9.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002072/0.5578, allocations: 0.4949 MB / 0.5726 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.5582, allocations: 155.8 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5582, allocations: 3.938 kB / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.5584, allocations: 71.83 kB / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.559, allocations: 60.44 kB / 0.5729 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.56, allocations: 0.5591 MB / 0.5734 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5605, allocations: 0.7777 MB / 0.5742 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.5606, allocations: 37.92 kB / 0.5742 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.5607, allocations: 35.42 kB / 0.5743 GB, free: 7.371 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5607, allocations: 0 / 0.5743 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Templates: time 0.008469/0.5692, allocations: 3.285 MB / 0.5775 GB, free: 4.105 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.653739409521222]