Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009078/0.0009078, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002198, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009298/0.0009298, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003811/0.004741, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9449/0.9449, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2308/1.176, allocations: 49.51 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1522/0.1522, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02632/0.1785, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.39e-05, allocations: 2.312 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003181/0.003205, allocations: 1.77 MB / 269.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.004141, allocations: 0.8076 MB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.004206, allocations: 0 / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.004406, allocations: 47.64 kB / 269.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.00454, allocations: 55.69 kB / 270 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.004715, allocations: 83.7 kB / 270.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.004857, allocations: 103.6 kB / 270.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.004934, allocations: 4.234 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005042, allocations: 75.81 kB / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.005115, allocations: 23.92 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.005131, allocations: 4 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.005217, allocations: 43.92 kB / 270.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.005255, allocations: 11.94 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.005289, allocations: 15.94 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.005434, allocations: 95.59 kB / 270.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.005451, allocations: 0 / 270.4 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.005453, allocations: 4 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.00547, allocations: 7.938 kB / 270.4 MB, free: 3.285 MB / 266.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.0004262/0.005896, allocations: 319.9 kB / 270.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.005925, allocations: 8.031 kB / 270.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.005957, allocations: 8.938 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.0061, allocations: 145.5 kB / 270.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.006114, allocations: 384 / 270.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.006131, allocations: 8.375 kB / 270.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.006232, allocations: 61.7 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006241, allocations: 3.938 kB / 271 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.006247, allocations: 0 / 271 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006252, allocations: 4 kB / 271 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.00628, allocations: 15.98 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.006459, allocations: 162 kB / 271.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.006552, allocations: 93.22 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.006578, allocations: 12.86 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.006588, allocations: 0 / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.544e-05/0.006684, allocations: 74.14 kB / 271.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.006685, allocations: 0 / 271.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002728/0.006957, allocations: 113.5 kB / 271.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.006988, allocations: 51.41 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.007104, allocations: 164.1 kB / 271.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.007117, allocations: 25.7 kB / 271.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.007144, allocations: 92.12 kB / 271.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.007168, allocations: 31.77 kB / 271.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.007197, allocations: 17.72 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.007265, allocations: 330.7 kB / 272.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.007279, allocations: 14.81 kB / 272.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.007299, allocations: 21.66 kB / 272.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.007337, allocations: 52.56 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007338, allocations: 0 / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.413e-05/0.007402, allocations: 72.39 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007413, allocations: 7.984 kB / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007417, allocations: 0 / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.007425, allocations: 3.984 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.007485, allocations: 16 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007488, allocations: 0 / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.007518, allocations: 7.984 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.007522, allocations: 0 / 272.3 MB, free: 1.203 MB / 266.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 5.173e-05/0.007574, allocations: 124.6 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.007585, allocations: 11.94 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.007707, allocations: 74.44 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.007709, allocations: 0 / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.00771, allocations: 0 / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.007713, allocations: 0 / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.007898, allocations: 291.4 kB / 272.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0079, allocations: 4 kB / 272.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.007925, allocations: 15.92 kB / 272.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.007936, allocations: 15.98 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007938, allocations: 0 / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007944, allocations: 4 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007946, allocations: 0 / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007946, allocations: 0 / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.008049, allocations: 215 kB / 273.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.008065, allocations: 8.375 kB / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.008099, allocations: 0 / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.008131, allocations: 7.984 kB / 273.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.008144, allocations: 8 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.283e-05/0.008176, allocations: 39.66 kB / 273.1 MB, free: 344 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008176, allocations: 4 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.008314, allocations: 27.92 kB / 273.2 MB, free: 312 kB / 266.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.00132/0.009634, allocations: 0.6401 MB / 273.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.009747, allocations: 44.77 kB / 273.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.009756, allocations: 4 kB / 273.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.009789, allocations: 24.78 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.009985, allocations: 47.75 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01045, allocations: 214.5 kB / 274.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.01049, allocations: 63.34 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01052, allocations: 20.61 kB / 274.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.0107, allocations: 63.36 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.0107, allocations: 4 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Templates: time 0.003578/0.01428, allocations: 2.022 MB / 276.3 MB, free: 13.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.0381691697984934]