Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001601/0.001601, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001892/0.001892, allocations: 208.7 kB / 24.49 MB, free: 4.145 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2237/0.2237, allocations: 46.94 MB / 361.6 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.91 kB / 0.4975 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3826, allocations: 66.03 MB / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003851/0.3865, allocations: 1.741 MB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3884, allocations: 1.052 MB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.3885, allocations: 4 kB / 0.5647 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3889, allocations: 39.77 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.3892, allocations: 99.53 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3894, allocations: 83.61 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3896, allocations: 107.7 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3897, allocations: 8 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3899, allocations: 51.78 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.3899, allocations: 31.78 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.39, allocations: 4 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3901, allocations: 39.98 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.3901, allocations: 27.84 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.3902, allocations: 35.75 kB / 0.5652 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3904, allocations: 121.9 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3904, allocations: 0 / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3904, allocations: 0 / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3904, allocations: 4 kB / 0.5653 GB, free: 0.9023 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.0006016/0.3911, allocations: 345.5 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3911, allocations: 12.03 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3911, allocations: 8.891 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3914, allocations: 162.9 kB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3914, allocations: 384 / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3915, allocations: 8.125 kB / 0.5658 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3916, allocations: 53.67 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3916, allocations: 4 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3917, allocations: 0 / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3917, allocations: 4 kB / 0.5659 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.3917, allocations: 15.98 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3922, allocations: 263.9 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3923, allocations: 54.61 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.3924, allocations: 20.86 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3924, allocations: 0 / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.3926, allocations: 67.39 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3926, allocations: 0 / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.3932, allocations: 173.3 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3932, allocations: 51.41 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3934, allocations: 202.3 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3935, allocations: 25.7 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.3935, allocations: 112.1 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3936, allocations: 31.77 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3936, allocations: 21.72 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3938, allocations: 330.7 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.3939, allocations: 23.98 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.3939, allocations: 41.64 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.394, allocations: 53.72 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.394, allocations: 4 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.3942, allocations: 101.5 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3943, allocations: 4 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3943, allocations: 4.375 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3943, allocations: 0 / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.3944, allocations: 20.02 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3944, allocations: 4 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3944, allocations: 15.88 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3944, allocations: 4 kB / 0.5674 GB, free: 14.51 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.0001162/0.3946, allocations: 121.8 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3946, allocations: 15.89 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3948, allocations: 119.2 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3948, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3948, allocations: 4 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3949, allocations: 3.938 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.3953, allocations: 362.4 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3953, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.3954, allocations: 11.94 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3954, allocations: 3.984 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3954, allocations: 7.938 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3954, allocations: 0 / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3954, allocations: 0 / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3956, allocations: 208.3 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3957, allocations: 7.953 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3957, allocations: 7.938 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3958, allocations: 7.984 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3958, allocations: 7.938 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3958, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.396, allocations: 160.2 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.396, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3962, allocations: 27.92 kB / 0.5685 GB, free: 13.35 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.001693/0.3979, allocations: 458.7 kB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.3981, allocations: 55.92 kB / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3981, allocations: 4 kB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.3982, allocations: 19.98 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3985, allocations: 34.84 kB / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.3991, allocations: 264.4 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3995, allocations: 0.708 MB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.3995, allocations: 19.44 kB / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3995, allocations: 0 / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.004118/0.4036, allocations: 1.966 MB / 0.5719 GB, free: 9.969 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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: 7.953936235979199]