Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001262/0.001262, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001504/0.001504, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 72.12 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003161/0.3228, allocations: 1.698 MB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3246, allocations: 0.9715 MB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.3247, allocations: 7.938 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.325, allocations: 55.75 kB / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3253, allocations: 95.61 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3255, allocations: 87.59 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3257, allocations: 99.77 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.3258, allocations: 11.97 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.3259, allocations: 39.8 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.3259, allocations: 43.72 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.326, allocations: 8 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.3261, allocations: 43.97 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3261, allocations: 19.92 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.3262, allocations: 31.75 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3264, allocations: 149.7 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3264, allocations: 3.938 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3264, allocations: 0 / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3264, allocations: 0 / 0.5652 GB, free: 0.793 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.0005598/0.327, allocations: 377.3 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.327, allocations: 12.03 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.327, allocations: 16.84 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3273, allocations: 155.3 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3273, allocations: 4.375 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3274, allocations: 12.12 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3275, allocations: 57.66 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3275, allocations: 0 / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3275, allocations: 3.984 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3275, allocations: 7.938 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.3276, allocations: 15.98 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.328, allocations: 248.5 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3282, allocations: 54.67 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.3283, allocations: 28.78 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3283, allocations: 3.938 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.3284, allocations: 71.33 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3284, allocations: 0 / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.329, allocations: 193.2 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3291, allocations: 55.41 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3294, allocations: 274.8 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3294, allocations: 37.7 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.3295, allocations: 120.1 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3295, allocations: 23.8 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3296, allocations: 21.7 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3297, allocations: 334.8 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.3298, allocations: 19.98 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.3298, allocations: 33.7 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.33, allocations: 69.62 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.33, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002141/0.3302, allocations: 113.5 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3302, allocations: 8 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3302, allocations: 3.984 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3302, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3303, allocations: 12 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3303, allocations: 4 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3304, allocations: 0 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3304, allocations: 7.984 kB / 0.5675 GB, free: 14.25 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.0001215/0.3305, allocations: 137.8 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3305, allocations: 20.31 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.3308, allocations: 123 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3308, allocations: 4 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3308, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3308, allocations: 4 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3313, allocations: 358.9 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3313, allocations: 288 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.3314, allocations: 15.92 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3314, allocations: 4 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3314, allocations: 7.969 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3314, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3314, allocations: 3.938 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3317, allocations: 220.2 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.3317, allocations: 19.84 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3317, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.3318, allocations: 4 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3318, allocations: 15.92 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3319, allocations: 4 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.3321, allocations: 204.6 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3321, allocations: 4 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3323, allocations: 27.89 kB / 0.5686 GB, free: 13.01 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 (9): * Single equations (assignments): 7 * 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.001822/0.3342, allocations: 491.7 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3344, allocations: 63.91 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3344, allocations: 0 / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.3344, allocations: 31.92 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3348, allocations: 43.7 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.3353, allocations: 299.6 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3355, allocations: 101.1 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.3355, allocations: 25.03 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.3355, allocations: 15.44 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3355, allocations: 0 / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.005455/0.341, allocations: 1.981 MB / 0.5715 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 4.974224552002852]