Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001669/0.001669, allocations: 110.5 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.002035/0.002035, allocations: 213.2 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.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.203 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.2414/0.2414, allocations: 46.89 MB / 361.3 MB, free: 4.414 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 75.86 kB / 0.4971 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3731, allocations: 66.03 MB / 0.5616 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003991/0.3771, allocations: 1.947 MB / 0.5635 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3793, allocations: 1.158 MB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.3794, allocations: 7.875 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.38, allocations: 255.3 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.3805, allocations: 227.2 kB / 0.5651 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3808, allocations: 119.6 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3811, allocations: 271.3 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3812, allocations: 33.56 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3814, allocations: 135.5 kB / 0.5656 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.3817, allocations: 207.4 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3817, allocations: 12 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3819, allocations: 59.97 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.382, allocations: 75.64 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3821, allocations: 99.27 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.3824, allocations: 257.6 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3824, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3824, allocations: 0 / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3824, allocations: 0 / 0.5663 GB, free: 15.72 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.0008326/0.3833, allocations: 0.5195 MB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3833, allocations: 12.02 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.3834, allocations: 32.75 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.3838, allocations: 228.9 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3838, allocations: 12.38 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3839, allocations: 8.359 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3841, allocations: 115.6 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3841, allocations: 3.984 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3842, allocations: 0 / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3842, allocations: 0 / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3843, allocations: 47.97 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.385, allocations: 463.7 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.3854, allocations: 109.2 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3855, allocations: 53.81 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3855, allocations: 3.984 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3857, allocations: 120.2 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3857, allocations: 0 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001379/0.3871, allocations: 0.5209 MB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.3872, allocations: 81.11 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.3877, allocations: 0.4937 MB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.3878, allocations: 29.7 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3879, allocations: 168.5 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.388, allocations: 75.41 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.3881, allocations: 41.7 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3882, allocations: 354.8 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3884, allocations: 55.97 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3885, allocations: 92.7 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.3888, allocations: 167.5 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3888, allocations: 0 / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004151/0.3892, allocations: 237.2 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3893, allocations: 8 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3893, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3893, allocations: 7.938 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3894, allocations: 39.92 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3895, allocations: 4 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.3895, allocations: 16.05 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3896, allocations: 8 kB / 0.5703 GB, free: 11.39 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.0001727/0.3897, allocations: 174.7 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.3898, allocations: 35.77 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.3903, allocations: 268.3 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3903, allocations: 4 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3903, allocations: 0 / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3903, allocations: 3.984 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.3913, allocations: 0.7107 MB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3913, allocations: 0 / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.3914, allocations: 31.94 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3914, allocations: 0 / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3914, allocations: 16.11 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3914, allocations: 0 / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3914, allocations: 4 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.3921, allocations: 429.3 kB / 0.5719 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3921, allocations: 35.81 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.3922, allocations: 11.88 kB / 0.572 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3923, allocations: 11.98 kB / 0.572 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.3924, allocations: 23.91 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3924, allocations: 12 kB / 0.572 GB, free: 9.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.3928, allocations: 375.1 kB / 0.5724 GB, free: 9.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3928, allocations: 4 kB / 0.5724 GB, free: 9.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.3931, allocations: 51.92 kB / 0.5724 GB, free: 9.117 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.00193/0.3951, allocations: 0.5067 MB / 0.5729 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.3955, allocations: 147.8 kB / 0.573 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3955, allocations: 0 / 0.573 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3956, allocations: 80.22 kB / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.3962, allocations: 61.27 kB / 0.5732 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3973, allocations: 0.6016 MB / 0.5738 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3977, allocations: 0.7792 MB / 0.5745 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3978, allocations: 45.91 kB / 0.5746 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.3979, allocations: 31.42 kB / 0.5746 GB, free: 6.988 MB / 414.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3979, allocations: 0 / 0.5746 GB, free: 6.988 MB / 414.1 MB Notification: Performance of Templates: time 0.008082/0.406, allocations: 3.303 MB / 0.5778 GB, free: 3.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.2761530773714185]