Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009855/0.0009855, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009731/0.0009731, allocations: 165.3 kB / 25.61 MB, free: 8.887 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 0.9756/0.9756, allocations: 177.1 MB / 206 MB, free: 4.465 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.1424/0.1424, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.244e-05, allocations: 6.141 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002057/0.00208, allocations: 1.766 MB / 379.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003588, allocations: 0.9936 MB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003696, allocations: 3.938 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.004052, allocations: 111.6 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.004342, allocations: 127.4 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.004511, allocations: 83.66 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004667, allocations: 131.5 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.004766, allocations: 4 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.004852, allocations: 71.8 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.004939, allocations: 71.86 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004954, allocations: 4 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.00505, allocations: 63.8 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.005098, allocations: 31.84 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.005132, allocations: 23.92 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005305, allocations: 119.6 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005308, allocations: 0 / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.00531, allocations: 0 / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005315, allocations: 0 / 381 MB, free: 21.88 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003975/0.005713, allocations: 479.5 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.005749, allocations: 19.92 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.005791, allocations: 24.83 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.005932, allocations: 156.4 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.005948, allocations: 4.375 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005965, allocations: 4.375 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.006061, allocations: 62.94 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.006072, allocations: 3.938 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.006078, allocations: 3.938 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006083, allocations: 0 / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.00611, allocations: 15.92 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.006324, allocations: 272.4 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.00645, allocations: 67 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.006467, allocations: 15.69 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.006478, allocations: 3.938 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.006552, allocations: 69.11 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006553, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003986/0.006951, allocations: 201.8 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.006971, allocations: 55.41 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.007068, allocations: 265.9 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.007077, allocations: 33.69 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.007113, allocations: 162.8 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.007138, allocations: 35.69 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.007169, allocations: 39.34 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.007214, allocations: 0.5 MB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.007232, allocations: 19.98 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.007258, allocations: 31.36 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.007302, allocations: 59.22 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007303, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.589e-05/0.007399, allocations: 109.5 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.007411, allocations: 8 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007416, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.007424, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.007474, allocations: 19.98 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.007478, allocations: 4 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.007506, allocations: 4 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.007511, allocations: 4 kB / 383.7 MB, free: 18.95 MB / 314.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 (13): * Single equations (assignments): 13 * 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 6.044e-05/0.007572, allocations: 175.5 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.007588, allocations: 23.94 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007712, allocations: 123 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007714, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.007716, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007719, allocations: 3.984 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.00794, allocations: 413.1 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007942, allocations: 0 / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.00797, allocations: 16 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007973, allocations: 0 / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.00798, allocations: 8 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007981, allocations: 8 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.007983, allocations: 3.984 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.008094, allocations: 279.7 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.008106, allocations: 15.91 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008122, allocations: 4 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.008162, allocations: 3.984 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.00819, allocations: 19.86 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.008202, allocations: 4 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.008256, allocations: 176.4 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008256, allocations: 4 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.008446, allocations: 31.94 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001082/0.009528, allocations: 493.7 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.009634, allocations: 63.53 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009636, allocations: 4.062 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.00967, allocations: 39.59 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.009893, allocations: 37 kB / 385.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.01018, allocations: 280 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.01021, allocations: 75.19 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.01025, allocations: 24.75 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.0103, allocations: 90.19 kB / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0103, allocations: 0 / 386 MB, free: 16.63 MB / 314.7 MB Notification: Performance of Templates: time 0.00365/0.01395, allocations: 2.351 MB / 388.4 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.1685799402184784]