Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 202 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.92 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3983, allocations: 65.47 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003149/0.4014, allocations: 1.737 MB / 0.56 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.4041, allocations: 1.735 MB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.4042, allocations: 0 / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.4044, allocations: 43.77 kB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.4047, allocations: 103.5 kB / 0.5619 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.4049, allocations: 71.69 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4051, allocations: 107.7 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.4052, allocations: 11.94 kB / 0.562 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.4053, allocations: 55.7 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.4055, allocations: 43.78 kB / 0.5621 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4055, allocations: 4 kB / 0.5621 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.4057, allocations: 119.9 kB / 0.5622 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.4057, allocations: 19.91 kB / 0.5623 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.4058, allocations: 35.81 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.4061, allocations: 169.8 kB / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4061, allocations: 0 / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4061, allocations: 0 / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.4061, allocations: 0 / 0.5625 GB, free: 3.426 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005797/0.4066, allocations: 357.4 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4067, allocations: 12.03 kB / 0.5628 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.4067, allocations: 12.84 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.407, allocations: 152.8 kB / 0.563 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.407, allocations: 11.94 kB / 0.563 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.407, allocations: 4 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4072, allocations: 63.39 kB / 0.5631 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4072, allocations: 7.984 kB / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4072, allocations: 4 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4072, allocations: 0 / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.4073, allocations: 19.92 kB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.4077, allocations: 264 kB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4079, allocations: 54.66 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.4079, allocations: 16.86 kB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4079, allocations: 3.938 kB / 0.5634 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.4081, allocations: 71.39 kB / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4081, allocations: 0 / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005367/0.4086, allocations: 173.3 kB / 0.5636 GB, free: 2.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.4087, allocations: 81.05 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4089, allocations: 166.1 kB / 0.5639 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4089, allocations: 29.7 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.409, allocations: 100.1 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.409, allocations: 31.73 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.409, allocations: 25.7 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4092, allocations: 322.8 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.4092, allocations: 20 kB / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.4093, allocations: 46.48 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4094, allocations: 61.66 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4094, allocations: 4.031 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.4096, allocations: 105.6 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4097, allocations: 10.34 kB / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4097, allocations: 0 / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4097, allocations: 0 / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.4098, allocations: 12 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4098, allocations: 7.938 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.4098, allocations: 7.984 kB / 0.5646 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.4098, allocations: 4 kB / 0.5646 GB, free: 1 MB / 398.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 0.0001118/0.4099, allocations: 124.5 kB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.41, allocations: 7.953 kB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4102, allocations: 114.3 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4102, allocations: 0 / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4102, allocations: 3.938 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4102, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.4107, allocations: 370.7 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4107, allocations: 4.031 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.4107, allocations: 19.92 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4107, allocations: 0 / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.4108, allocations: 0 / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4108, allocations: 4 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4108, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.411, allocations: 204.3 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.411, allocations: 15.89 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4111, allocations: 7.984 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.4111, allocations: 4 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.4112, allocations: 3.984 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4112, allocations: 4 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.4113, allocations: 127.2 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4113, allocations: 0 / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.4116, allocations: 47.86 kB / 0.5656 GB, free: 15.87 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 (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.00197/0.4136, allocations: 0.5498 MB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.4138, allocations: 59.92 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4138, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.4139, allocations: 27.92 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4142, allocations: 32.05 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.4147, allocations: 240.4 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.415, allocations: 0.6963 MB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.4151, allocations: 23.42 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4151, allocations: 4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004602/0.4197, allocations: 2.417 MB / 0.5696 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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: 8.167652325937524]