Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.001747/0.001747, 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.002287/0.002287, 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.654/1.654, 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.251/0.251, allocations: 46.9 MB / 361.1 MB, free: 4.629 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") [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.003535/0.003535, allocations: 83.86 kB / 0.4969 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4885, allocations: 65.96 MB / 0.5613 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003508/0.492, allocations: 1.749 MB / 0.563 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.4937, allocations: 1.046 MB / 0.564 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.4938, allocations: 1.406 kB / 0.564 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.4941, allocations: 51.67 kB / 0.564 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.4944, allocations: 106.2 kB / 0.5641 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.4946, allocations: 83.42 kB / 0.5642 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4948, allocations: 99.34 kB / 0.5643 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4949, allocations: 15.97 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.495, allocations: 38.53 kB / 0.5644 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.4951, allocations: 38.69 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4951, allocations: 3.031 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.4952, allocations: 38.69 kB / 0.5645 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.4953, allocations: 38.88 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.4953, allocations: 42.31 kB / 0.5645 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.4955, allocations: 137.7 kB / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4955, allocations: 0 / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4955, allocations: 0 / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4955, allocations: 0 / 0.5647 GB, free: 32.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005577/0.4961, allocations: 456.2 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4961, allocations: 8.812 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.4962, allocations: 15.88 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4964, allocations: 226.2 kB / 0.5653 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4965, allocations: 3.906 kB / 0.5653 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4965, allocations: 4.438 kB / 0.5653 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.4966, allocations: 61.78 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4966, allocations: 5.219 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4967, allocations: 3.438 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4967, allocations: 0 / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.4967, allocations: 21.16 kB / 0.5654 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4971, allocations: 306.5 kB / 0.5657 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.4972, allocations: 51.16 kB / 0.5658 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.4973, allocations: 22.47 kB / 0.5658 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4973, allocations: 0 / 0.5658 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.4974, allocations: 63.75 kB / 0.5659 GB, free: 31.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4974, allocations: 2.594 kB / 0.5659 GB, free: 31.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.4979, allocations: 189.3 kB / 0.566 GB, free: 30.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.498, allocations: 54.73 kB / 0.5661 GB, free: 30.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4982, allocations: 270.7 kB / 0.5663 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.4982, allocations: 36.77 kB / 0.5664 GB, free: 30.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.4982, allocations: 110.2 kB / 0.5665 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.4983, allocations: 33.05 kB / 0.5665 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.4983, allocations: 20.78 kB / 0.5665 GB, free: 30.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.4984, allocations: 335.6 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.4984, allocations: 23.66 kB / 0.5669 GB, free: 30.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.4985, allocations: 33.58 kB / 0.5669 GB, free: 30.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.4986, allocations: 55.19 kB / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4986, allocations: 6.844 kB / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001588/0.4987, allocations: 114 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4987, allocations: 8.906 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4988, allocations: 0 / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4988, allocations: 0 / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.4989, allocations: 20.16 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4989, allocations: 3.188 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.4989, allocations: 0 / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4989, allocations: 3.125 kB / 0.5671 GB, free: 30.12 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 (10): * Single equations (assignments): 10 * 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 8.913e-05/0.499, allocations: 143.8 kB / 0.5673 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.499, allocations: 17.25 kB / 0.5673 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.4993, allocations: 116.8 kB / 0.5674 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4993, allocations: 10.38 kB / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4993, allocations: 0 / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4993, allocations: 1.781 kB / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.4996, allocations: 408.5 kB / 0.5678 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4996, allocations: 3.938 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.4997, allocations: 11.58 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.4997, allocations: 3.125 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4997, allocations: 3 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4997, allocations: 7.125 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4997, allocations: 0.7969 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.4999, allocations: 206.6 kB / 0.568 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.4999, allocations: 88.61 kB / 0.5681 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4999, allocations: 3.516 kB / 0.5681 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.5, allocations: 9.25 kB / 0.5681 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.5001, allocations: 9.125 kB / 0.5681 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5001, allocations: 6.562 kB / 0.5681 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.5002, allocations: 202.8 kB / 0.5683 GB, free: 29.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5002, allocations: 0.75 kB / 0.5683 GB, free: 29.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.5005, allocations: 26.84 kB / 0.5683 GB, free: 29.16 MB / 446.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 (8): * Single equations (assignments): 6 * 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.001622/0.5021, allocations: 458.8 kB / 0.5688 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.5023, allocations: 51.22 kB / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5023, allocations: 4.062 kB / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.5023, allocations: 25.98 kB / 0.5689 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.5027, allocations: 42.47 kB / 0.5689 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.5033, allocations: 321.5 kB / 0.5692 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.5034, allocations: 0.7216 MB / 0.5699 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.5035, allocations: 17.69 kB / 0.5699 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5035, allocations: 20.44 kB / 0.5699 GB, free: 27.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5035, allocations: 0 / 0.5699 GB, free: 27.98 MB / 446.1 MB Notification: Performance of Templates: time 0.005041/0.5086, allocations: 1.793 MB / 0.5717 GB, free: 27.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.828813959378749]