Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001292/0.001292, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001362/0.001362, allocations: 219.7 kB / 25.13 MB, free: 3.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.477/1.477, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.93 MB / 362 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test77,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 79.88 kB / 0.4979 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3735, allocations: 66.08 MB / 0.5624 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003623/0.3771, allocations: 1.936 MB / 0.5643 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3793, allocations: 1.154 MB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3794, allocations: 4 kB / 0.5654 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.3799, allocations: 163.5 kB / 0.5656 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.3804, allocations: 187.2 kB / 0.5658 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.3808, allocations: 111.7 kB / 0.5659 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.3812, allocations: 251.2 kB / 0.5661 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.3814, allocations: 29.61 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3816, allocations: 123.4 kB / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3818, allocations: 147.5 kB / 0.5664 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.3819, allocations: 8 kB / 0.5664 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.382, allocations: 59.98 kB / 0.5665 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3821, allocations: 59.75 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.3822, allocations: 79.38 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.3826, allocations: 229.8 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3826, allocations: 0 / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3826, allocations: 0 / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3826, allocations: 4 kB / 0.5668 GB, free: 15.68 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.0008509/0.3834, allocations: 476.5 kB / 0.5673 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3835, allocations: 12.02 kB / 0.5673 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.3836, allocations: 28.75 kB / 0.5673 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.384, allocations: 226.5 kB / 0.5675 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.384, allocations: 4.375 kB / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.384, allocations: 8.375 kB / 0.5675 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3843, allocations: 111.7 kB / 0.5676 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3843, allocations: 0 / 0.5676 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3843, allocations: 4 kB / 0.5676 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3843, allocations: 11.92 kB / 0.5677 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3845, allocations: 39.97 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.3851, allocations: 447.8 kB / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.3855, allocations: 117.2 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3856, allocations: 37.83 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3856, allocations: 11.86 kB / 0.5683 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3858, allocations: 121 kB / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3858, allocations: 0 / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.3872, allocations: 497.7 kB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3872, allocations: 89.03 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.3877, allocations: 376.5 kB / 0.5693 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3877, allocations: 29.7 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3878, allocations: 144.5 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.3879, allocations: 79.38 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.649e-05/0.3879, allocations: 41.7 kB / 0.5696 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3881, allocations: 346.7 kB / 0.5699 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3882, allocations: 55.98 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.3884, allocations: 100.2 kB / 0.5701 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.3887, allocations: 151.4 kB / 0.5702 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3887, allocations: 0 / 0.5702 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004075/0.3891, allocations: 237.6 kB / 0.5704 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3891, allocations: 8 kB / 0.5704 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3891, allocations: 4.172 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3891, allocations: 7.875 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3893, allocations: 39.98 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3893, allocations: 3.984 kB / 0.5705 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.3894, allocations: 11.98 kB / 0.5705 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3894, allocations: 12 kB / 0.5705 GB, free: 11.62 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.0001592/0.3896, allocations: 161.8 kB / 0.5707 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3896, allocations: 31.81 kB / 0.5707 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.3901, allocations: 263.2 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.3901, allocations: 7.984 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3901, allocations: 0 / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3901, allocations: 0 / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.3911, allocations: 0.699 MB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3911, allocations: 3.938 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.3912, allocations: 27.98 kB / 0.5717 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3912, allocations: 4 kB / 0.5717 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3912, allocations: 11.94 kB / 0.5717 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3912, allocations: 4 kB / 0.5717 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3912, allocations: 0 / 0.5717 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.3918, allocations: 433.9 kB / 0.5721 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.3918, allocations: 19.86 kB / 0.5721 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3918, allocations: 12 kB / 0.5721 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.392, allocations: 7.984 kB / 0.5722 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.392, allocations: 23.91 kB / 0.5722 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.3921, allocations: 8 kB / 0.5722 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002929/0.3924, allocations: 279 kB / 0.5724 GB, free: 9.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3924, allocations: 0 / 0.5724 GB, free: 9.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.3928, allocations: 52.11 kB / 0.5725 GB, free: 9.488 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.001971/0.3947, allocations: 0.5281 MB / 0.573 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3951, allocations: 139.8 kB / 0.5731 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3951, allocations: 0 / 0.5731 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3953, allocations: 71.84 kB / 0.5732 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3958, allocations: 64.27 kB / 0.5733 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.3967, allocations: 0.5006 MB / 0.5738 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3971, allocations: 0.7636 MB / 0.5745 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.3972, allocations: 37.92 kB / 0.5745 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.3973, allocations: 39.36 kB / 0.5746 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3973, allocations: 0 / 0.5746 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Templates: time 0.007574/0.4049, allocations: 3.24 MB / 0.5778 GB, free: 4.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.251116665778682]