Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.002238/0.002238, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001943/0.001943, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.219 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.3071/0.3071, allocations: 46.94 MB / 361.4 MB, free: 4.402 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") [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.002313/0.002313, allocations: 76.2 kB / 0.4972 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3877, allocations: 66.03 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003154/0.3909, allocations: 1.756 MB / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3927, allocations: 1.049 MB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3928, allocations: 0 / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.393, allocations: 43.77 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.3933, allocations: 95.59 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3935, allocations: 79.67 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3937, allocations: 115.6 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.3938, allocations: 4 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.3939, allocations: 39.8 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.394, allocations: 43.72 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.394, allocations: 7.984 kB / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3941, allocations: 43.98 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3942, allocations: 19.92 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.3942, allocations: 39.69 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3944, allocations: 130 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3944, allocations: 0 / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3944, allocations: 0 / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3944, allocations: 0 / 0.5651 GB, free: 1.043 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.0005871/0.395, allocations: 353.5 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3951, allocations: 8.031 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.3951, allocations: 16.89 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3954, allocations: 154.3 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3954, allocations: 8.297 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.3954, allocations: 4.375 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3956, allocations: 61.92 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3956, allocations: 0 / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3956, allocations: 0 / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3956, allocations: 0 / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.3957, allocations: 19.98 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3961, allocations: 271.9 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3963, allocations: 54.61 kB / 0.566 GB, free: 0 / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.3963, allocations: 20.84 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3964, allocations: 0 / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3965, allocations: 71.39 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3965, allocations: 0 / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.3971, allocations: 181.3 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3971, allocations: 51.41 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.3974, allocations: 214.7 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3974, allocations: 25.7 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.3975, allocations: 112.1 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3975, allocations: 23.84 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3976, allocations: 21.72 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3978, allocations: 330.8 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.3978, allocations: 23.92 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.3979, allocations: 33.7 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.398, allocations: 58.28 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.398, allocations: 4 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.3982, allocations: 109.4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3983, allocations: 8 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3983, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.3983, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.3984, allocations: 15.98 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3984, allocations: 4.156 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.3984, allocations: 4 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3985, allocations: 4 kB / 0.5673 GB, free: 14.62 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 (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.0001337/0.3986, allocations: 141.7 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3986, allocations: 11.91 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.3989, allocations: 115 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3989, allocations: 4 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3989, allocations: 0 / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3989, allocations: 3.938 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3994, allocations: 366.3 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3994, allocations: 4.031 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.3994, allocations: 15.94 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3994, allocations: 3.984 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3995, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3995, allocations: 3.938 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3995, allocations: 0 / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3997, allocations: 200.3 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.3997, allocations: 11.95 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3998, allocations: 4 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.3998, allocations: 7.922 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3999, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3999, allocations: 11.98 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.4001, allocations: 152.3 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 3.938 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4004, allocations: 24 kB / 0.5683 GB, free: 13.45 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.00178/0.4022, allocations: 459.2 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.4024, allocations: 63.89 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4024, allocations: 64 / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.4025, allocations: 32.12 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.4029, allocations: 31.55 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.4034, allocations: 242.6 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4038, allocations: 0.7041 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.4039, allocations: 17.03 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.4039, allocations: 19.44 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4039, allocations: 0 / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.005469/0.4094, allocations: 1.781 MB / 0.5716 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.552121803164482]