Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001906/0.001906, allocations: 112.4 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.002425/0.002425, allocations: 205.6 kB / 24.46 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.515/1.515, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2433/0.2433, allocations: 46.88 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002757/0.002757, allocations: 83.86 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3917, allocations: 65.98 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003876/0.3956, allocations: 1.776 MB / 0.563 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3976, allocations: 1.049 MB / 0.5641 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.3977, allocations: 0 / 0.5641 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3981, allocations: 111.7 kB / 0.5642 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.3985, allocations: 119.5 kB / 0.5643 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3987, allocations: 87.66 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.399, allocations: 135.6 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3991, allocations: 11.92 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3992, allocations: 59.77 kB / 0.5646 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3995, allocations: 75.78 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3996, allocations: 7.938 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3997, allocations: 63.97 kB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.3998, allocations: 27.92 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.3999, allocations: 47.61 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.4002, allocations: 158.1 kB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4002, allocations: 4 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4002, allocations: 0 / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4002, allocations: 0 / 0.5649 GB, free: 1.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008575/0.401, allocations: 470.3 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4011, allocations: 8.031 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.4011, allocations: 20.84 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.4015, allocations: 229 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4015, allocations: 4.312 kB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.4016, allocations: 4.375 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4018, allocations: 69.98 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4018, allocations: 3.984 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4018, allocations: 0 / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4018, allocations: 0 / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4019, allocations: 31.98 kB / 0.5657 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.4024, allocations: 320.9 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.4027, allocations: 70.53 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.4028, allocations: 28.84 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4028, allocations: 4.141 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.403, allocations: 79.41 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.403, allocations: 4 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009134/0.4039, allocations: 277.1 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.4039, allocations: 55.41 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4042, allocations: 251.8 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4042, allocations: 33.7 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.4043, allocations: 112.1 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.4043, allocations: 43.67 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.4044, allocations: 29.7 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4046, allocations: 334.8 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4047, allocations: 35.92 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.4048, allocations: 45.7 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.405, allocations: 89.64 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.405, allocations: 4 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002652/0.4052, allocations: 153.5 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4053, allocations: 4 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4053, allocations: 4 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4053, allocations: 3.984 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.4054, allocations: 20 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4054, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.4054, allocations: 11.94 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4054, allocations: 11.94 kB / 0.5677 GB, free: 14.22 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 (14): * Single equations (assignments): 14 * 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.0002145/0.4057, allocations: 144.5 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.4057, allocations: 15.91 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.406, allocations: 163.7 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.406, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.406, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.406, allocations: 0 / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.4067, allocations: 480 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4067, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.4067, allocations: 19.98 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4067, allocations: 7.938 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4068, allocations: 0 / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4068, allocations: 4 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4068, allocations: 3.938 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.4071, allocations: 245.1 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.4072, allocations: 93.02 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.4072, allocations: 11.88 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.4073, allocations: 7.984 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.4073, allocations: 7.984 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4074, allocations: 4 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.4076, allocations: 197.5 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 4 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.4078, allocations: 35.92 kB / 0.569 GB, free: 12.7 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 (12): * Single equations (assignments): 10 * 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.001967/0.4098, allocations: 0.4991 MB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4101, allocations: 83.84 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4101, allocations: 0 / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4102, allocations: 43.92 kB / 0.5697 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4105, allocations: 47.06 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.4112, allocations: 316.5 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.4118, allocations: 0.7278 MB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.4119, allocations: 29.06 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4119, allocations: 19.44 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4119, allocations: 0 / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005968/0.4179, allocations: 2.145 MB / 0.5729 GB, free: 8.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.236611424013972]