Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001037/0.001037, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001001/0.001001, allocations: 172.2 kB / 24.82 MB, free: 9.312 MB / 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.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.295/0.295, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.054e-05, allocations: 2.312 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002759/0.002789, allocations: 1.762 MB / 378.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004167, allocations: 0.9936 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.004271, allocations: 0 / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.004603, allocations: 59.69 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.004955, allocations: 103.5 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.005194, allocations: 79.59 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.005374, allocations: 103.7 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.005472, allocations: 8 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.005574, allocations: 63.75 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.00565, allocations: 23.92 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.005666, allocations: 4 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.005762, allocations: 47.91 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.005816, allocations: 31.86 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.005854, allocations: 19.92 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.006045, allocations: 115.5 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.006049, allocations: 4 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00605, allocations: 0 / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006055, allocations: 0 / 380 MB, free: 0.8867 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.0004696/0.006524, allocations: 479.6 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.006563, allocations: 8.031 kB / 380.4 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.006606, allocations: 20.84 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.006772, allocations: 165.2 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.006791, allocations: 4.375 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.006808, allocations: 4.312 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.00693, allocations: 66.88 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00694, allocations: 3.938 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.006947, allocations: 0 / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.006952, allocations: 0 / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.006982, allocations: 15.98 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.007283, allocations: 260.4 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.007379, allocations: 59.08 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.007403, allocations: 11.69 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.007419, allocations: 4 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.007521, allocations: 68.98 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.007523, allocations: 0 / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003406/0.007864, allocations: 137.8 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.007894, allocations: 59.41 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.008045, allocations: 266.6 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.00806, allocations: 29.7 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.008129, allocations: 166.8 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.008163, allocations: 23.78 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.008203, allocations: 31.36 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.008338, allocations: 0.504 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.008359, allocations: 12.05 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.008389, allocations: 39.28 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.008442, allocations: 43.38 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008443, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.008558, allocations: 97.41 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008573, allocations: 8 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.008578, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008592, allocations: 3.984 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.008658, allocations: 12 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.008662, allocations: 4 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.008693, allocations: 4 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.008699, allocations: 4 kB / 382.5 MB, free: 14.09 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 8.481e-05/0.008784, allocations: 172.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.008805, allocations: 19.84 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.008955, allocations: 103.2 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008957, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.00896, allocations: 7.938 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.008964, allocations: 0 / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.009281, allocations: 369.6 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.009283, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.009315, allocations: 12 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.009318, allocations: 4.031 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.009325, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.009327, allocations: 4 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009329, allocations: 0 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.009499, allocations: 263.3 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.009519, allocations: 19.88 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.009537, allocations: 4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.009582, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.00961, allocations: 7.984 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.009622, allocations: 0 / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.009711, allocations: 188.5 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009711, allocations: 4 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.0099, allocations: 23.94 kB / 383.7 MB, free: 12.84 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.001098/0.011, allocations: 445 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01115, allocations: 51.59 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01116, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.0112, allocations: 27.67 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01147, allocations: 39.69 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.0119, allocations: 266.5 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.01195, allocations: 75.33 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.012, allocations: 13.28 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.01208, allocations: 90.17 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01208, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Templates: time 0.004127/0.01621, allocations: 2.061 MB / 386.8 MB, free: 9.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.211296407971531]