Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001828/0.001828, allocations: 110.3 kB / 21.17 MB, free: 0.7812 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.001878/0.001878, allocations: 209.4 kB / 24.46 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.542/1.542, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2477/0.2477, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") [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.002376/0.002376, allocations: 83.86 kB / 0.4969 GB, free: 8.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4223, allocations: 65.96 MB / 0.5613 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003712/0.426, allocations: 1.775 MB / 0.563 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4278, allocations: 1.054 MB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.196e-05/0.4279, allocations: 3.938 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.4283, allocations: 105.4 kB / 0.5641 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.4287, allocations: 129.9 kB / 0.5643 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.4289, allocations: 83.11 kB / 0.5643 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.4291, allocations: 118.9 kB / 0.5645 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4293, allocations: 17.98 kB / 0.5645 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4294, allocations: 59.55 kB / 0.5645 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.4295, allocations: 66.38 kB / 0.5646 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4295, allocations: 6.219 kB / 0.5646 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.4297, allocations: 67.45 kB / 0.5647 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.4297, allocations: 24.53 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.4298, allocations: 49.03 kB / 0.5647 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.4301, allocations: 140.9 kB / 0.5649 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4301, allocations: 0 / 0.5649 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4301, allocations: 0 / 0.5649 GB, free: 32.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4301, allocations: 3.062 kB / 0.5649 GB, free: 32.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006245/0.4307, allocations: 462.5 kB / 0.5653 GB, free: 31.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4308, allocations: 13.38 kB / 0.5653 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.4308, allocations: 15.72 kB / 0.5653 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4311, allocations: 225.5 kB / 0.5656 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4311, allocations: 8.781 kB / 0.5656 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4312, allocations: 3.531 kB / 0.5656 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4313, allocations: 63.2 kB / 0.5656 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4314, allocations: 0.5312 kB / 0.5656 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4314, allocations: 2 kB / 0.5656 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4314, allocations: 2.812 kB / 0.5656 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4315, allocations: 30.72 kB / 0.5657 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.4319, allocations: 297 kB / 0.5659 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.4322, allocations: 61.62 kB / 0.566 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.4322, allocations: 19.77 kB / 0.566 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.4323, allocations: 0.875 kB / 0.566 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.4324, allocations: 79.06 kB / 0.5661 GB, free: 31.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.4324, allocations: 0.8438 kB / 0.5661 GB, free: 31.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000912/0.4333, allocations: 258.6 kB / 0.5664 GB, free: 31.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4334, allocations: 54.47 kB / 0.5664 GB, free: 30.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.4336, allocations: 251.3 kB / 0.5666 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4337, allocations: 29.7 kB / 0.5667 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.4337, allocations: 111.9 kB / 0.5668 GB, free: 30.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.4338, allocations: 43.83 kB / 0.5668 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.4338, allocations: 26.91 kB / 0.5668 GB, free: 30.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.4339, allocations: 330.9 kB / 0.5672 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.434, allocations: 30.41 kB / 0.5672 GB, free: 30.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.434, allocations: 45.56 kB / 0.5672 GB, free: 30.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4342, allocations: 83.59 kB / 0.5673 GB, free: 30.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4342, allocations: 0 / 0.5673 GB, free: 30.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.4345, allocations: 130.5 kB / 0.5674 GB, free: 30.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4345, allocations: 8.438 kB / 0.5674 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4345, allocations: 0 / 0.5674 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.4345, allocations: 2.656 kB / 0.5674 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4347, allocations: 21.69 kB / 0.5675 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4347, allocations: 0 / 0.5675 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.4347, allocations: 14.08 kB / 0.5675 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4347, allocations: 2.938 kB / 0.5675 GB, free: 30.16 MB / 446.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 (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.0001084/0.4348, allocations: 136 kB / 0.5676 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.4349, allocations: 20.5 kB / 0.5676 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.4352, allocations: 139.6 kB / 0.5678 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4352, allocations: 0 / 0.5678 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4352, allocations: 6.969 kB / 0.5678 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4352, allocations: 3.938 kB / 0.5678 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.4358, allocations: 461.7 kB / 0.5682 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4358, allocations: 0 / 0.5682 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.4359, allocations: 14.12 kB / 0.5682 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4359, allocations: 10.92 kB / 0.5682 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4359, allocations: 8.734 kB / 0.5683 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4359, allocations: 0 / 0.5683 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4359, allocations: 4.641 kB / 0.5683 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.4362, allocations: 230.5 kB / 0.5685 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4362, allocations: 93.41 kB / 0.5686 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4363, allocations: 7.797 kB / 0.5686 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4364, allocations: 3.719 kB / 0.5686 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.4364, allocations: 5.812 kB / 0.5686 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4365, allocations: 7.484 kB / 0.5686 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.4366, allocations: 190 kB / 0.5688 GB, free: 29.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4366, allocations: 7.875 kB / 0.5688 GB, free: 29.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.437, allocations: 34.97 kB / 0.5688 GB, free: 29.14 MB / 446.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 (11): * Single equations (assignments): 9 * 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.002293/0.4393, allocations: 0.5007 MB / 0.5693 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.4396, allocations: 69.11 kB / 0.5694 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4396, allocations: 3.938 kB / 0.5694 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4397, allocations: 45.03 kB / 0.5694 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.4402, allocations: 44.33 kB / 0.5695 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.4409, allocations: 307.7 kB / 0.5697 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.441, allocations: 0.725 MB / 0.5705 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.438e-05/0.4411, allocations: 24.94 kB / 0.5705 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.4411, allocations: 18.42 kB / 0.5705 GB, free: 27.95 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4411, allocations: 3.938 kB / 0.5705 GB, free: 27.94 MB / 446.1 MB Notification: Performance of Templates: time 0.00603/0.4472, allocations: 2.044 MB / 0.5725 GB, free: 27.72 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.407604598905891]