Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009371/0.0009371, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001097/0.001097, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9466/0.9466, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1376/0.1376, allocations: 32.8 MB / 294.6 MB, free: 15.45 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 323.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.605e-05, allocations: 12.72 kB / 323.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00898/0.009006, allocations: 1.786 MB / 325.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004649/0.01366, allocations: 1.005 MB / 326.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.01374, allocations: 0 / 326.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.01407, allocations: 107.6 kB / 326.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.01442, allocations: 127.3 kB / 326.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.01466, allocations: 87.59 kB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.01486, allocations: 139.6 kB / 326.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.01495, allocations: 11.98 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.01507, allocations: 75.8 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.01518, allocations: 67.8 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.0152, allocations: 4 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.01531, allocations: 55.92 kB / 326.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.01537, allocations: 31.91 kB / 326.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.01541, allocations: 31.86 kB / 326.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.01563, allocations: 135.4 kB / 327 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01563, allocations: 0 / 327 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01564, allocations: 0 / 327 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.01564, allocations: 0 / 327 MB, free: 15.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004379/0.01608, allocations: 351.9 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.01611, allocations: 19.98 kB / 327.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.01615, allocations: 12.92 kB / 327.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.01936, allocations: 162.4 kB / 327.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.01938, allocations: 8.359 kB / 327.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.0194, allocations: 4.375 kB / 327.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.01953, allocations: 69.75 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.01954, allocations: 11.86 kB / 327.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.01954, allocations: 0 / 327.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01955, allocations: 0 / 327.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.01959, allocations: 19.98 kB / 327.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.01983, allocations: 185.8 kB / 327.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.01998, allocations: 101.3 kB / 327.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.02001, allocations: 12.86 kB / 327.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.02002, allocations: 0 / 327.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.02012, allocations: 82.31 kB / 328 MB, free: 13.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.02012, allocations: 0 / 328 MB, free: 13.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004861/0.0206, allocations: 173.4 kB / 328.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.02064, allocations: 55.41 kB / 328.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.02079, allocations: 213.1 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.02081, allocations: 33.7 kB / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.02085, allocations: 96.09 kB / 328.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.02089, allocations: 43.67 kB / 328.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.02093, allocations: 21.72 kB / 328.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.02103, allocations: 334.8 kB / 328.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.02106, allocations: 14.83 kB / 329 MB, free: 12.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.0211, allocations: 29.7 kB / 329 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.02117, allocations: 67.14 kB / 329 MB, free: 12.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.02118, allocations: 4 kB / 329 MB, free: 12.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001199/0.0213, allocations: 84.42 kB / 329.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.02131, allocations: 8 kB / 329.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.02131, allocations: 0 / 329.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.02133, allocations: 0 / 329.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.0214, allocations: 19.98 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0214, allocations: 4 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.02144, allocations: 4 kB / 329.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.02145, allocations: 4 kB / 329.2 MB, free: 12.65 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 (14): * Single equations (assignments): 14 * 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.79e-05/0.02153, allocations: 124.5 kB / 329.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.02155, allocations: 16.02 kB / 329.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.02171, allocations: 107.8 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02171, allocations: 0 / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.02171, allocations: 0 / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.02172, allocations: 3.938 kB / 329.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.02205, allocations: 348.1 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.02206, allocations: 0 / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.02217, allocations: 16 kB / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02218, allocations: 0 / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.0222, allocations: 16.03 kB / 329.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.02221, allocations: 3.984 kB / 329.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02221, allocations: 0 / 329.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.02246, allocations: 247.7 kB / 330 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.02249, allocations: 11.91 kB / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.02252, allocations: 8 kB / 330.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.02261, allocations: 3.984 kB / 330.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.02265, allocations: 15.98 kB / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.02267, allocations: 11.94 kB / 330.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.02276, allocations: 69.92 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02276, allocations: 4 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.02306, allocations: 35.92 kB / 330.2 MB, free: 11.55 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 (14): * Single equations (assignments): 12 * 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.001908/0.02497, allocations: 0.6435 MB / 330.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.02512, allocations: 64.81 kB / 330.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.02513, allocations: 3.938 kB / 330.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.02518, allocations: 32.78 kB / 330.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.02548, allocations: 43.98 kB / 331 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.02597, allocations: 280.4 kB / 331.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.02604, allocations: 83.77 kB / 331.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.0261, allocations: 21.12 kB / 331.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.0262, allocations: 75.36 kB / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0262, allocations: 0 / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of Templates: time 0.00532/0.03152, allocations: 2.466 MB / 333.9 MB, free: 8.145 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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: 2.997889227233827]