Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001789/0.001789, 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.002065/0.002065, allocations: 216.8 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.557/1.557, 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.2428/0.2428, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6") [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.002617/0.002617, allocations: 71.88 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4019, allocations: 65.98 MB / 0.5612 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003624/0.4055, allocations: 1.687 MB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.4067, allocations: 0.5499 MB / 0.5634 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.4068, allocations: 3.938 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.4071, allocations: 95.73 kB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.4074, allocations: 119.6 kB / 0.5636 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.4077, allocations: 95.69 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4079, allocations: 99.73 kB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.408, allocations: 22.59 kB / 0.5638 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.4081, allocations: 39.84 kB / 0.5639 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4082, allocations: 67.8 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4082, allocations: 4 kB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.4084, allocations: 51.97 kB / 0.564 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.4084, allocations: 27.86 kB / 0.564 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.4085, allocations: 39.69 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4087, allocations: 131.4 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4087, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4087, allocations: 0 / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4087, allocations: 0 / 0.5642 GB, free: 1.957 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000739/0.4095, allocations: 438.6 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4095, allocations: 8.031 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.4096, allocations: 20.83 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4098, allocations: 200.2 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4098, allocations: 16.31 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4099, allocations: 8.312 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.41, allocations: 66.23 kB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4101, allocations: 4.141 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4101, allocations: 3.938 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4101, allocations: 0 / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4102, allocations: 43.95 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4107, allocations: 340.6 kB / 0.5653 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4108, allocations: 58.55 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.4109, allocations: 20.86 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4109, allocations: 0 / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4109, allocations: 34.55 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.4109, allocations: 0 / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001105/0.412, allocations: 317.3 kB / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.4121, allocations: 59.41 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.4124, allocations: 239.4 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4124, allocations: 29.7 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.4125, allocations: 116.1 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.4125, allocations: 47.58 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.4126, allocations: 29.72 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4128, allocations: 326.8 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.4129, allocations: 35.97 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.413, allocations: 35.98 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.4132, allocations: 88.83 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4132, allocations: 4 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002808/0.4135, allocations: 141.5 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4135, allocations: 10.33 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4135, allocations: 3.938 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4135, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4136, allocations: 27.98 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4136, allocations: 3.938 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.4137, allocations: 12 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4137, allocations: 0 / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001335/0.4138, allocations: 137.8 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4139, allocations: 11.91 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.4142, allocations: 159.1 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4142, allocations: 4 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4142, allocations: 3.938 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4142, allocations: 4 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.4149, allocations: 483 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4149, allocations: 3.938 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.415, allocations: 23.98 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.415, allocations: 7.984 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.415, allocations: 7.984 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.415, allocations: 4.031 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.415, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.4153, allocations: 247.4 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.4154, allocations: 93 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.4154, allocations: 4 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.4155, allocations: 4 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4156, allocations: 15.98 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4156, allocations: 4 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.4157, allocations: 185.1 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4157, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.416, allocations: 27.94 kB / 0.5682 GB, free: 13.49 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001675/0.4177, allocations: 460.1 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4179, allocations: 87.89 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4179, allocations: 0 / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4181, allocations: 55.91 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4184, allocations: 37.95 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.4191, allocations: 307.7 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4195, allocations: 0.7158 MB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.4195, allocations: 24.53 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4196, allocations: 23.38 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4196, allocations: 0 / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.004688/0.4243, allocations: 1.587 MB / 0.5714 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.294285810086876]