Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001419/0.001419, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001645/0.001645, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.548/1.548, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2659/0.2659, allocations: 46.89 MB / 361.1 MB, free: 4.625 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") [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.002421/0.002421, allocations: 80.2 kB / 0.4968 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4322, allocations: 65.99 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003657/0.4359, allocations: 1.745 MB / 0.563 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.4387, allocations: 1.73 MB / 0.5647 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.4388, allocations: 0 / 0.5647 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.4391, allocations: 47.77 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.4395, allocations: 99.53 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.4397, allocations: 79.67 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.4399, allocations: 111.7 kB / 0.565 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.44, allocations: 4 kB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4401, allocations: 55.77 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.4403, allocations: 43.83 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.4404, allocations: 11.94 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.4406, allocations: 111.9 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.4406, allocations: 27.86 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.4407, allocations: 35.81 kB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.441, allocations: 186.1 kB / 0.5655 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.441, allocations: 3.938 kB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.441, allocations: 0 / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.4411, allocations: 0 / 0.5655 GB, free: 0.7148 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007454/0.4418, allocations: 434.5 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4418, allocations: 12.03 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.4419, allocations: 8.891 kB / 0.5659 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.4423, allocations: 216.2 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4423, allocations: 12.31 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4424, allocations: 384 / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.4426, allocations: 83.64 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4426, allocations: 3.953 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4426, allocations: 0 / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4426, allocations: 0 / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4427, allocations: 31.95 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.4432, allocations: 304.8 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.4434, allocations: 66.61 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.4435, allocations: 24.84 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4435, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4437, allocations: 75.39 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4437, allocations: 0 / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000674/0.4444, allocations: 201.4 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.4445, allocations: 81.05 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4447, allocations: 166.2 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4447, allocations: 29.7 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.4448, allocations: 104.1 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.4448, allocations: 23.81 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.4449, allocations: 29.7 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.445, allocations: 330.8 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.4451, allocations: 23.98 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.4452, allocations: 42.56 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4453, allocations: 77.67 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4453, allocations: 4.031 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002195/0.4456, allocations: 109.5 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4456, allocations: 8 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4456, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.4456, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4457, allocations: 27.92 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4457, allocations: 0 / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.4458, allocations: 4 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4458, allocations: 4 kB / 0.5679 GB, free: 13.97 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 (11): * Single equations (assignments): 11 * 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.0001334/0.4459, allocations: 136.8 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.446, allocations: 11.95 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.4463, allocations: 122.3 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4463, allocations: 3.984 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4463, allocations: 3.938 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4463, allocations: 3.984 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.4469, allocations: 419.7 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4469, allocations: 7.969 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.4469, allocations: 12 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4469, allocations: 0 / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4469, allocations: 4 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4469, allocations: 3.938 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4469, allocations: 0 / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.4472, allocations: 224.5 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.4473, allocations: 93.02 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.4473, allocations: 0 / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.4474, allocations: 19.92 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.4474, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4475, allocations: 4 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4476, allocations: 128.1 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4476, allocations: 0 / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.4479, allocations: 51.86 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002047/0.45, allocations: 0.5307 MB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.4502, allocations: 67.92 kB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4502, allocations: 0 / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.4503, allocations: 31.92 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4507, allocations: 51.55 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.4512, allocations: 227.1 kB / 0.57 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4517, allocations: 0.7009 MB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.4518, allocations: 32.36 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.4518, allocations: 27.61 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4518, allocations: 0 / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.006597/0.4584, allocations: 2.483 MB / 0.5731 GB, free: 8.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.56912805698812]