Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.00148/0.00148, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001537/0.001537, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.587/1.587, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2479/0.2479, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.003119/0.003119, allocations: 75.88 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4154, allocations: 65.99 MB / 0.5613 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004796/0.4202, allocations: 1.784 MB / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.4232, allocations: 1.057 MB / 0.5641 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.4234, allocations: 0 / 0.5641 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.4239, allocations: 111.7 kB / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.4245, allocations: 123.5 kB / 0.5643 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.4249, allocations: 83.66 kB / 0.5644 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.4253, allocations: 135.7 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.4254, allocations: 13.39 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.4256, allocations: 63.77 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.4259, allocations: 83.66 kB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.4259, allocations: 12 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.4261, allocations: 63.97 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4262, allocations: 39.84 kB / 0.5648 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.4263, allocations: 39.69 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.4268, allocations: 169.9 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4268, allocations: 0 / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4268, allocations: 0 / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.4268, allocations: 0 / 0.565 GB, free: 1.207 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009906/0.4278, allocations: 474.2 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4279, allocations: 8.922 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.428, allocations: 24.84 kB / 0.5655 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.4286, allocations: 229.1 kB / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4286, allocations: 384 / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4287, allocations: 8.375 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.4289, allocations: 73.97 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.429, allocations: 7.891 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.429, allocations: 4 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.429, allocations: 0 / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.4291, allocations: 39.91 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.4298, allocations: 332.7 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.4302, allocations: 74.48 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.4303, allocations: 24.84 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.4304, allocations: 4 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.4306, allocations: 71.39 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.4306, allocations: 7.938 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001233/0.4318, allocations: 297.1 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.4319, allocations: 51.41 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4323, allocations: 267.6 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.4324, allocations: 33.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4325, allocations: 120.1 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.4325, allocations: 43.64 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.4326, allocations: 33.7 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.4329, allocations: 326.8 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.433, allocations: 35.98 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4331, allocations: 61.62 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.4334, allocations: 101.7 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4334, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004122/0.4338, allocations: 165.3 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4339, allocations: 6.344 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4339, allocations: 3.984 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4339, allocations: 4 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.434, allocations: 27.98 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4341, allocations: 3.938 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.4341, allocations: 4 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4342, allocations: 8.031 kB / 0.5678 GB, free: 14.05 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 (16): * Single equations (assignments): 16 * 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.0002072/0.4344, allocations: 144.4 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.4344, allocations: 27.83 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.435, allocations: 180.1 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.435, allocations: 3.938 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.435, allocations: 3.938 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.435, allocations: 3.984 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.436, allocations: 0.5079 MB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.436, allocations: 0 / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.4361, allocations: 19.98 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4361, allocations: 0 / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.4361, allocations: 8 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4361, allocations: 3.938 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.4361, allocations: 7.938 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.4366, allocations: 261.2 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4368, allocations: 89.02 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.4368, allocations: 4 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.437, allocations: 11.98 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.437, allocations: 7.984 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.4371, allocations: 8 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.4373, allocations: 201.4 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4373, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.4378, allocations: 39.88 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002713/0.4405, allocations: 0.5047 MB / 0.5698 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.4409, allocations: 103.1 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4409, allocations: 3.938 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.4411, allocations: 51.98 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.4417, allocations: 35.64 kB / 0.57 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.4426, allocations: 332.5 kB / 0.5703 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.4432, allocations: 0.728 MB / 0.571 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.4433, allocations: 29.41 kB / 0.571 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.4433, allocations: 19.44 kB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4433, allocations: 0 / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Templates: time 0.009045/0.4524, allocations: 2.252 MB / 0.5732 GB, free: 8.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.47256218129769]