Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009407/0.0009407, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002221, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000898/0.000898, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002086, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9518/0.9518, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1278/1.08, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2739/0.2739, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02348/0.2974, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.293e-05, allocations: 5.375 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003723/0.003746, allocations: 1.802 MB / 295.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005702, allocations: 1.029 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.005801, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.006063, allocations: 47.7 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.006388, allocations: 91.55 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.00664, allocations: 83.53 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.006845, allocations: 103.7 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.006942, allocations: 11.97 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.007111, allocations: 75.77 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.007216, allocations: 31.89 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.007239, allocations: 4 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007357, allocations: 43.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.007413, allocations: 23.94 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.007459, allocations: 19.88 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.007674, allocations: 99.59 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.007694, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007695, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.007713, allocations: 4 kB / 297.4 MB, free: 1.621 MB / 282.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.0006206/0.008334, allocations: 333 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.008383, allocations: 12.92 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.008435, allocations: 8.922 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.008674, allocations: 154 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.008698, allocations: 4.375 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.008725, allocations: 8.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.008905, allocations: 65.69 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.008925, allocations: 192 / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.008934, allocations: 384 / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.008946, allocations: 7.938 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.008991, allocations: 12 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.009316, allocations: 169.8 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.009455, allocations: 85.28 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.009483, allocations: 16.92 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.009498, allocations: 0 / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.009645, allocations: 66.14 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.009646, allocations: 0 / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.01006, allocations: 109.5 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.0101, allocations: 59.39 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.01026, allocations: 176.3 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01028, allocations: 29.7 kB / 298.7 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.01032, allocations: 96.09 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.01036, allocations: 23.75 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.01041, allocations: 33.69 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01053, allocations: 322.8 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.01056, allocations: 10.83 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.01059, allocations: 29.69 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.01066, allocations: 40.55 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01066, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001155/0.01077, allocations: 76.41 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.01079, allocations: 7.938 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.0108, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01082, allocations: 8.031 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.01091, allocations: 15.98 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.01092, allocations: 0 / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.01096, allocations: 8 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01097, allocations: 0 / 299.4 MB, free: 15.49 MB / 298.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.612e-05/0.01105, allocations: 116.7 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.01108, allocations: 19.88 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.01122, allocations: 76 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01122, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.01123, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.01123, allocations: 8 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.01154, allocations: 287.5 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.01155, allocations: 8.312 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.01159, allocations: 11.98 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.01161, allocations: 15.84 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01161, allocations: 0 / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01162, allocations: 8 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01163, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01163, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.0118, allocations: 227 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01182, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.0119, allocations: 7.984 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.01194, allocations: 7.984 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.01195, allocations: 4 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.975e-05/0.01202, allocations: 51.64 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01202, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.01228, allocations: 27.94 kB / 300.2 MB, free: 14.56 MB / 298.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.002206/0.01448, allocations: 0.6205 MB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.0146, allocations: 40.77 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.01461, allocations: 4 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.01466, allocations: 28.78 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01485, allocations: 43.98 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.01532, allocations: 244 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.01536, allocations: 63.34 kB / 301.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.0154, allocations: 16.91 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01546, allocations: 71.36 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01546, allocations: 0 / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.003886/0.01935, allocations: 2.062 MB / 303.4 MB, free: 11.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.965103331953287]