Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009695/0.0009695, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009431/0.0009431, allocations: 160.5 kB / 24.99 MB, free: 9.324 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.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.3046/0.3046, allocations: 34.25 MB / 296 MB, free: 0.7812 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.743e-05, allocations: 9.828 kB / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002612/0.002639, allocations: 1.758 MB / 379.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.00401, allocations: 1.005 MB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.004122, allocations: 3.938 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.004473, allocations: 51.75 kB / 380.9 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.004848, allocations: 111.4 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.005074, allocations: 75.66 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.005257, allocations: 111.6 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005367, allocations: 7.984 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.005454, allocations: 47.84 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.005534, allocations: 31.89 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.005552, allocations: 4 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.005644, allocations: 43.88 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.005716, allocations: 35.84 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.005763, allocations: 27.86 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.005975, allocations: 111.6 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005977, allocations: 0 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005979, allocations: 0 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.005985, allocations: 0 / 381.5 MB, free: 15.42 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.0005332/0.006518, allocations: 475.6 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.006564, allocations: 12.03 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.00662, allocations: 16.84 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.006822, allocations: 169.2 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.006843, allocations: 4.375 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.006864, allocations: 384 / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.007013, allocations: 70.92 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.007024, allocations: 3.938 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.007033, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.007041, allocations: 0 / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.007081, allocations: 8 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.007432, allocations: 307.8 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.007542, allocations: 51.17 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.007579, allocations: 27.61 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.007601, allocations: 4 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.007746, allocations: 68.98 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.007748, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004322/0.00818, allocations: 165.3 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.008214, allocations: 55.34 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.008383, allocations: 273.6 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.008399, allocations: 29.7 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.008466, allocations: 162.9 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.008495, allocations: 27.78 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.008531, allocations: 27.38 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.008673, allocations: 0.5118 MB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.008703, allocations: 8 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.008743, allocations: 35.36 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.008814, allocations: 55.31 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008816, allocations: 0 / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001264/0.008942, allocations: 89.58 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.008963, allocations: 8 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.008971, allocations: 0 / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008989, allocations: 3.938 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.009107, allocations: 23.97 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.009119, allocations: 7.984 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.009152, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.00916, allocations: 4 kB / 384.2 MB, free: 12.53 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.0001095/0.009269, allocations: 164.5 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.009291, allocations: 15.91 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.009495, allocations: 111 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.0095, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.009506, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.009512, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.009932, allocations: 413 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.009934, allocations: 0 / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.009984, allocations: 15.98 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009987, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.009999, allocations: 4.375 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.01, allocations: 0 / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.01001, allocations: 11.94 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.01019, allocations: 259.4 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.01021, allocations: 15.84 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.01023, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.01028, allocations: 8.031 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01032, allocations: 7.984 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01034, allocations: 4 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.01047, allocations: 200.4 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01047, allocations: 0 / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.01068, allocations: 27.94 kB / 385.4 MB, free: 11.21 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.001173/0.01186, allocations: 433.7 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.012, allocations: 55.58 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.012, allocations: 8 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.01205, allocations: 35.61 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.0123, allocations: 33.92 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.01282, allocations: 258.5 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.0129, allocations: 71.33 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.01295, allocations: 16.97 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.013, allocations: 24.56 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 2.014e-06/0.013, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004465/0.01747, allocations: 1.897 MB / 388.2 MB, free: 8.523 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.3198319419752806]