Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001568/0.001568, 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.001726/0.001726, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 46.93 MB / 361.6 MB, free: 4.293 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+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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 67.89 kB / 0.4975 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.385, allocations: 66.03 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003397/0.3884, allocations: 1.749 MB / 0.5636 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.3911, allocations: 1.743 MB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.3912, allocations: 0 / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3915, allocations: 39.77 kB / 0.5654 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.3918, allocations: 103.5 kB / 0.5655 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.392, allocations: 79.67 kB / 0.5656 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3922, allocations: 103.7 kB / 0.5657 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3923, allocations: 4 kB / 0.5657 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3924, allocations: 59.7 kB / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3926, allocations: 43.84 kB / 0.5658 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3926, allocations: 4 kB / 0.5658 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.3928, allocations: 111.9 kB / 0.5659 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.3929, allocations: 27.84 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.3929, allocations: 27.81 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3932, allocations: 177.7 kB / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3932, allocations: 0 / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.3932, allocations: 0 / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3932, allocations: 0 / 0.5661 GB, free: 140 kB / 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.0006364/0.3939, allocations: 349.5 kB / 0.5664 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3939, allocations: 12.03 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.394, allocations: 20.78 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3943, allocations: 148.2 kB / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3943, allocations: 7.938 kB / 0.5666 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.3943, allocations: 0 / 0.5666 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3945, allocations: 71.33 kB / 0.5667 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3945, allocations: 3.984 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3946, allocations: 4 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3946, allocations: 4 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.3946, allocations: 23.92 kB / 0.5667 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3951, allocations: 252 kB / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3953, allocations: 58.67 kB / 0.567 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.3953, allocations: 20.86 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3953, allocations: 0 / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3955, allocations: 67.33 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3955, allocations: 3.938 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.3961, allocations: 177.3 kB / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3961, allocations: 85.05 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3963, allocations: 162.1 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3964, allocations: 33.7 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.3964, allocations: 96.12 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3965, allocations: 35.72 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3965, allocations: 25.72 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3967, allocations: 322.8 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.3967, allocations: 23.98 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.3968, allocations: 42.56 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3969, allocations: 57.66 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3969, allocations: 0 / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3971, allocations: 101.7 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3971, allocations: 4 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3971, allocations: 7.938 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3972, allocations: 0 / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.3972, allocations: 12 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3973, allocations: 11.98 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.3973, allocations: 4 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3973, allocations: 4 kB / 0.5682 GB, free: 13.72 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.0001033/0.3974, allocations: 117.8 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.3974, allocations: 11.95 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3977, allocations: 114.3 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3977, allocations: 0 / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3977, allocations: 3.938 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3977, allocations: 7.938 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3982, allocations: 366.4 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3982, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.3982, allocations: 15.92 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3982, allocations: 4 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3982, allocations: 3.984 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3982, allocations: 0 / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3982, allocations: 4 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3985, allocations: 208.3 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3985, allocations: 7.891 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.3985, allocations: 8.172 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.3986, allocations: 4.375 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3987, allocations: 11.92 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3987, allocations: 8 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3988, allocations: 127.2 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3988, allocations: 0 / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3991, allocations: 47.86 kB / 0.5693 GB, free: 12.58 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.002017/0.4011, allocations: 0.5415 MB / 0.5698 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4013, allocations: 59.92 kB / 0.5699 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4013, allocations: 0 / 0.5699 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.4014, allocations: 31.91 kB / 0.5699 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4018, allocations: 32.97 kB / 0.5699 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.4023, allocations: 232.5 kB / 0.5701 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4027, allocations: 0.7003 MB / 0.5708 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4027, allocations: 27.42 kB / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4027, allocations: 0 / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.005111/0.4078, allocations: 2.411 MB / 0.5732 GB, free: 8.715 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.18514829990454]