Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001012/0.001012, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.000947/0.000947, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2938/0.2938, allocations: 32.8 MB / 294.3 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.344e-05, allocations: 2.312 kB / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00255/0.002584, allocations: 1.77 MB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.00396, allocations: 1.009 MB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.004038, allocations: 0 / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.004341, allocations: 43.7 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.004641, allocations: 103.5 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.004813, allocations: 79.61 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004973, allocations: 103.7 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.005076, allocations: 8 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.005165, allocations: 55.77 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.005241, allocations: 31.91 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.005263, allocations: 4 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.00535, allocations: 43.92 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005411, allocations: 27.91 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.005456, allocations: 19.88 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005656, allocations: 99.64 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005659, allocations: 0 / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.00566, allocations: 0 / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005666, allocations: 4 kB / 379.5 MB, free: 1.191 MB / 346.7 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.0005262/0.006192, allocations: 447.8 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.006246, allocations: 12.03 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.00631, allocations: 16.84 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.006523, allocations: 153.1 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.006547, allocations: 8.375 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.006575, allocations: 384 / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006713, allocations: 62.94 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.006725, allocations: 3.938 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006734, allocations: 0 / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006742, allocations: 3.938 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.006779, allocations: 15.92 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.007099, allocations: 291.8 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.007209, allocations: 47.17 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.007243, allocations: 27.61 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.007264, allocations: 0 / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.007398, allocations: 68.98 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.0074, allocations: 0 / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004181/0.007818, allocations: 153.4 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.00785, allocations: 51.41 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.007998, allocations: 242.3 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.008013, allocations: 29.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.008078, allocations: 146.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.008114, allocations: 31.77 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.008149, allocations: 31.38 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.008285, allocations: 0.4923 MB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.008312, allocations: 11.98 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.008352, allocations: 35.36 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.008413, allocations: 51.25 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.008414, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001148/0.008529, allocations: 101.5 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.008543, allocations: 8 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008548, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.008567, allocations: 384 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.008649, allocations: 12 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.008656, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.008687, allocations: 7.984 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008695, allocations: 8 kB / 382 MB, free: 14.43 MB / 362.7 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 7.621e-05/0.008771, allocations: 160.5 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.008789, allocations: 23.92 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.008944, allocations: 103.3 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008947, allocations: 4 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.00895, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008953, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.009253, allocations: 392.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.009255, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.009288, allocations: 19.86 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009291, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.0093, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009301, allocations: 4.031 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009302, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.009446, allocations: 259.4 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.009461, allocations: 11.91 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.00948, allocations: 4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.009524, allocations: 3.984 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.009558, allocations: 8 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.009573, allocations: 7.984 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.009652, allocations: 168.1 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009652, allocations: 4 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.00983, allocations: 23.94 kB / 383.2 MB, free: 13.17 MB / 362.7 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.0009443/0.01077, allocations: 444.4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.01092, allocations: 47.61 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01092, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.01096, allocations: 43.59 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01121, allocations: 26.62 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.01157, allocations: 222.4 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.01162, allocations: 67.34 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.01165, allocations: 16.95 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.01168, allocations: 16.5 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01169, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003855/0.01554, allocations: 1.873 MB / 385.9 MB, free: 10.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.325593777000904]