Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.00176/0.00176, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001816/0.001816, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.3 MB / 258 MB, free: 8.25 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.2479/0.2479, allocations: 46.88 MB / 361.3 MB, free: 4.457 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.86 kB / 0.4971 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3434, allocations: 66.03 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004201/0.3476, allocations: 2.298 MB / 0.5639 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.3501, allocations: 1.336 MB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3503, allocations: 11.88 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3508, allocations: 139.3 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.3513, allocations: 270.8 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3518, allocations: 195.5 kB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.3524, allocations: 470.6 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3525, allocations: 44.06 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.3529, allocations: 350.9 kB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.3532, allocations: 175.1 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.3532, allocations: 20 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3534, allocations: 75.97 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.3536, allocations: 159.3 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.3538, allocations: 202.3 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.3544, allocations: 481.2 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3544, allocations: 0 / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3544, allocations: 0 / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3544, allocations: 0 / 0.5676 GB, free: 14.4 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001282/0.3557, allocations: 0.8457 MB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3558, allocations: 8.031 kB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3559, allocations: 72.47 kB / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.3566, allocations: 389.6 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3566, allocations: 8.375 kB / 0.5689 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.3566, allocations: 20.33 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.357, allocations: 197.8 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3571, allocations: 7.938 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3571, allocations: 4 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3571, allocations: 4 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.3573, allocations: 91.92 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3584, allocations: 0.8006 MB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.359, allocations: 230.5 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3592, allocations: 83.52 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3592, allocations: 7.938 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.3596, allocations: 204.5 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.3596, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002666/0.3623, allocations: 1.198 MB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.3624, allocations: 140.5 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3635, allocations: 0.9575 MB / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.3635, allocations: 37.64 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3638, allocations: 269 kB / 0.573 GB, free: 8.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.3639, allocations: 154.8 kB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.364, allocations: 78.09 kB / 0.5733 GB, free: 8.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3642, allocations: 329.9 kB / 0.5736 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.3644, allocations: 108.8 kB / 0.5737 GB, free: 7.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.3647, allocations: 187.2 kB / 0.5739 GB, free: 7.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.3653, allocations: 315.1 kB / 0.5742 GB, free: 7.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3653, allocations: 7.938 kB / 0.5742 GB, free: 7.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008236/0.3661, allocations: 452.7 kB / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3662, allocations: 4 kB / 0.5746 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3662, allocations: 4 kB / 0.5746 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3662, allocations: 4 kB / 0.5746 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3665, allocations: 87.91 kB / 0.5747 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3665, allocations: 7.984 kB / 0.5747 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3666, allocations: 24.06 kB / 0.5747 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3667, allocations: 15.98 kB / 0.5747 GB, free: 6.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002974/0.367, allocations: 257.4 kB / 0.575 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3671, allocations: 79.48 kB / 0.5751 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009929/0.3681, allocations: 0.5045 MB / 0.5756 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3681, allocations: 4 kB / 0.5756 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3681, allocations: 4 kB / 0.5756 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.3681, allocations: 4 kB / 0.5756 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.3699, allocations: 1.302 MB / 0.5768 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3699, allocations: 4 kB / 0.5768 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3701, allocations: 63.91 kB / 0.5769 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3701, allocations: 4 kB / 0.5769 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3701, allocations: 16.36 kB / 0.5769 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3701, allocations: 7.938 kB / 0.5769 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3701, allocations: 4 kB / 0.5769 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.3711, allocations: 0.8047 MB / 0.5777 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.3713, allocations: 103.5 kB / 0.5778 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.3714, allocations: 16 kB / 0.5778 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3716, allocations: 15.98 kB / 0.5779 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.3717, allocations: 47.81 kB / 0.5779 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.3718, allocations: 23.98 kB / 0.5779 GB, free: 3.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007998/0.3726, allocations: 0.7021 MB / 0.5786 GB, free: 2.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3726, allocations: 0 / 0.5786 GB, free: 2.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.3731, allocations: 87.92 kB / 0.5787 GB, free: 2.609 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001983/0.3751, allocations: 0.5264 MB / 0.5792 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.3757, allocations: 300.2 kB / 0.5795 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3757, allocations: 0 / 0.5795 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.376, allocations: 148.4 kB / 0.5796 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.3769, allocations: 137.2 kB / 0.5798 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3786, allocations: 1.21 MB / 0.5809 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.3792, allocations: 0.9172 MB / 0.5818 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3794, allocations: 75.3 kB / 0.5819 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3795, allocations: 51.42 kB / 0.582 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3795, allocations: 0 / 0.582 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01143/0.391, allocations: 5.74 MB / 0.5876 GB, free: 9.648 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.275460232049227]