Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001713/0.001713, 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.002174/0.002174, allocations: 208.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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2223/0.2223, allocations: 46.96 MB / 361.6 MB, free: 4.137 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.Test26,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.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_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 75.89 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3202, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003281/0.3234, allocations: 1.717 MB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3252, allocations: 0.9637 MB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.3253, allocations: 0 / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3256, allocations: 51.77 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.326, allocations: 99.53 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3262, allocations: 83.61 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3264, allocations: 99.73 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.3265, allocations: 8 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.3265, allocations: 43.8 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.3266, allocations: 35.77 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3266, allocations: 4 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3267, allocations: 47.92 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.3268, allocations: 23.92 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.3269, allocations: 23.81 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3271, allocations: 138 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3271, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3271, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3271, allocations: 0 / 0.5651 GB, free: 0.8125 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.0005904/0.3277, allocations: 353.5 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3278, allocations: 11.97 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3278, allocations: 12.89 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3281, allocations: 154.3 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3281, allocations: 384 / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3281, allocations: 16.06 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3283, allocations: 53.67 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3283, allocations: 3.984 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3283, allocations: 4 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3283, allocations: 0 / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.3284, allocations: 19.98 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3288, allocations: 244.4 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.329, allocations: 58.67 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.329, allocations: 24.78 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3291, allocations: 0 / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.3292, allocations: 71.33 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3292, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.3298, allocations: 177.4 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3299, allocations: 59.34 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3301, allocations: 226.6 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3301, allocations: 25.7 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3302, allocations: 116.1 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.3302, allocations: 15.86 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.3303, allocations: 25.7 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3304, allocations: 330.8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.3305, allocations: 19.98 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.3305, allocations: 37.7 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3307, allocations: 65.64 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3307, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.3309, allocations: 109.6 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3309, allocations: 4 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3309, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3309, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.331, allocations: 23.92 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.331, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3311, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3311, allocations: 4.156 kB / 0.5673 GB, free: 14.4 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.0001164/0.3312, allocations: 133.8 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3312, allocations: 11.91 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.3315, allocations: 135.1 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3315, allocations: 384 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3315, allocations: 3.984 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3315, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.332, allocations: 358.9 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.332, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.332, allocations: 11.98 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.332, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.332, allocations: 4 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.332, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3321, allocations: 15.84 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3323, allocations: 216.3 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.3324, allocations: 7.953 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3324, allocations: 7.938 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3325, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.3325, allocations: 15.92 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3325, allocations: 4 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3327, allocations: 155.2 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3327, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000288/0.333, allocations: 23.98 kB / 0.5683 GB, free: 13.24 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.001869/0.3348, allocations: 494.4 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.335, allocations: 59.91 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.335, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.3351, allocations: 35.98 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3355, allocations: 35.91 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.3361, allocations: 246.8 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3362, allocations: 100.7 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.3362, allocations: 17.34 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3363, allocations: 19.42 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3363, allocations: 0 / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005814/0.3421, allocations: 1.934 MB / 0.5712 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.983729872998083]