Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001982/0.001982, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00247/0.00247, allocations: 165.7 kB / 24.27 MB, free: 172 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.519/1.519, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3809/0.3809, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.598e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003539/0.003575, allocations: 1.719 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005532, allocations: 0.9774 MB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.005609, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.005963, allocations: 43.66 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.006334, allocations: 99.53 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.006605, allocations: 79.61 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.006828, allocations: 107.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.006931, allocations: 11.98 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.007046, allocations: 47.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.007138, allocations: 31.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.007162, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.00728, allocations: 47.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.007347, allocations: 19.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.0074, allocations: 15.94 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.007648, allocations: 119.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.007651, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007652, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.007658, allocations: 0 / 380.7 MB, free: 15.54 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.0006209/0.008279, allocations: 349.5 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.008319, allocations: 8.031 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.00838, allocations: 12.89 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.008686, allocations: 149.6 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008699, allocations: 384 / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.008727, allocations: 8.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.008884, allocations: 54.23 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.008899, allocations: 7.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.008909, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.008914, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.008998, allocations: 23.92 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.009382, allocations: 232.6 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.009579, allocations: 54.67 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.00965, allocations: 24.78 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.009664, allocations: 4 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.009829, allocations: 71.33 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.00983, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006186/0.01045, allocations: 185.5 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.01051, allocations: 55.41 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01073, allocations: 191.2 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.01075, allocations: 29.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.01084, allocations: 100.1 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.01087, allocations: 19.86 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.01093, allocations: 29.7 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.0111, allocations: 326.8 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.01117, allocations: 19.98 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.01125, allocations: 41.7 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.01138, allocations: 65.64 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01138, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002291/0.01161, allocations: 113.5 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01163, allocations: 4 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01163, allocations: 0 / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01165, allocations: 4.031 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01177, allocations: 19.98 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.01177, allocations: 0 / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.01182, allocations: 7.953 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01183, allocations: 7.984 kB / 382.9 MB, free: 13.17 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.0001293/0.01196, allocations: 129.7 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.01199, allocations: 15.95 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.01227, allocations: 119.1 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01228, allocations: 4 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01228, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01228, allocations: 4 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.0128, allocations: 350.9 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.0128, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.01284, allocations: 11.94 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.01285, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01286, allocations: 3.984 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01286, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01287, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.01316, allocations: 220.2 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01318, allocations: 15.94 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.0132, allocations: 3.984 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.269e-05/0.01329, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01333, allocations: 11.98 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.01334, allocations: 0 / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.01349, allocations: 143.9 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01349, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01375, allocations: 23.98 kB / 383.9 MB, free: 12.05 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.002344/0.01609, allocations: 498.9 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.0163, allocations: 55.91 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01631, allocations: 4 kB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.01639, allocations: 32.08 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01676, allocations: 36.19 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.0173, allocations: 229.5 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.01741, allocations: 92.3 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.01747, allocations: 12.97 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.01751, allocations: 16.5 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01751, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005587/0.0231, allocations: 1.87 MB / 386.7 MB, free: 9.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.813938471954316]