Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009325/0.0009325, allocations: 75.77 kB / 21.18 MB, free: 3.375 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.001164/0.001164, allocations: 161 kB / 24.56 MB, free: 4 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2612/0.2612, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.928e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002567/0.002597, allocations: 1.77 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003894, allocations: 1.009 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.003974, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.004286, allocations: 59.67 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.004604, allocations: 99.53 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.004827, allocations: 79.55 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.005001, allocations: 115.7 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.342e-05/0.005095, allocations: 4 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.005189, allocations: 55.78 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.00526, allocations: 27.89 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.005277, allocations: 4 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.005368, allocations: 43.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.005422, allocations: 35.84 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.005462, allocations: 19.94 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005662, allocations: 115.5 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005665, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005666, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005671, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.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.0005103/0.006181, allocations: 475.6 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.006218, allocations: 8.031 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.006271, allocations: 16.84 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006459, allocations: 173.2 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.006476, allocations: 384 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.006498, allocations: 4.375 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.00662, allocations: 58.94 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.006631, allocations: 7.875 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.006641, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.006648, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.006684, allocations: 15.97 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.007019, allocations: 299.8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.007136, allocations: 47.17 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.007174, allocations: 31.55 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.007191, allocations: 3.938 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.007308, allocations: 69.05 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.007309, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000439/0.007748, allocations: 169.3 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.00779, allocations: 51.41 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.007966, allocations: 273.6 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.007984, allocations: 33.7 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.008058, allocations: 166.8 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.00809, allocations: 23.8 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.008127, allocations: 23.38 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.008254, allocations: 0.5079 MB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.008281, allocations: 8 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.008322, allocations: 39.3 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.008384, allocations: 55.3 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008386, allocations: 0 / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.008514, allocations: 101.6 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.008531, allocations: 4 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.008536, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.008553, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.008642, allocations: 23.98 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.00865, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.008683, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.008691, allocations: 4.031 kB / 384.2 MB, free: 12.22 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 0.0001042/0.008795, allocations: 172.5 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.008819, allocations: 15.91 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.009005, allocations: 107.1 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009007, allocations: 3.938 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.009012, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.009018, allocations: 3.984 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.009368, allocations: 401 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00937, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.009407, allocations: 12.02 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.00941, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.009421, allocations: 8 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009423, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009425, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.00993, allocations: 263.3 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.009952, allocations: 15.91 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.009975, allocations: 384 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.01003, allocations: 7.984 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01007, allocations: 7.984 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.01009, allocations: 8 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.0102, allocations: 200.5 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0102, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.01041, allocations: 27.94 kB / 385.4 MB, free: 10.9 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.001181/0.01159, allocations: 441 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01181, allocations: 51.64 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01181, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.01188, allocations: 35.61 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.01219, allocations: 32.09 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.01269, allocations: 258.5 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.01275, allocations: 75.31 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.659e-05/0.01278, allocations: 12.97 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.01283, allocations: 24.48 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01283, allocations: 3.938 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003864/0.01669, allocations: 1.892 MB / 388.3 MB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.219329657033086]