Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001279/0.001279, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001816/0.003096, allocations: 452 kB / 10.43 MB, free: 264 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.001145/0.001145, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002791, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9251/0.9251, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1412/1.066, allocations: 49.51 MB / 220.7 MB, free: 1.359 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.1281/0.1281, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02117/0.1493, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 4 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.214e-05, allocations: 10.25 kB / 267.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002409/0.002431, allocations: 1.902 MB / 269.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003525, allocations: 0.9048 MB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.003609, allocations: 4 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.003981, allocations: 307 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.004268, allocations: 207.2 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.004545, allocations: 147.5 kB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004784, allocations: 243.2 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.004873, allocations: 14.47 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.005071, allocations: 196.2 kB / 271.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.005227, allocations: 147.7 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.005251, allocations: 8 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.005353, allocations: 43.92 kB / 271.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.005413, allocations: 51.8 kB / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.005456, allocations: 35.81 kB / 271.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.005673, allocations: 183.2 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.005686, allocations: 0 / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005687, allocations: 0 / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.005697, allocations: 0 / 271.8 MB, free: 14.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005059/0.006203, allocations: 0.5064 MB / 272.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.006236, allocations: 11.89 kB / 272.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.006278, allocations: 24.91 kB / 272.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.006488, allocations: 209.8 kB / 272.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.006505, allocations: 8.375 kB / 272.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.006528, allocations: 4.375 kB / 272.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.006667, allocations: 95.44 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006677, allocations: 7.875 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006687, allocations: 7.984 kB / 272.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006694, allocations: 4 kB / 272.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.00673, allocations: 25.64 kB / 272.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.006995, allocations: 285 kB / 273 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.007127, allocations: 166.5 kB / 273.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.00716, allocations: 29.7 kB / 273.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.007173, allocations: 4 kB / 273.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.007307, allocations: 115.7 kB / 273.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.007308, allocations: 4 kB / 273.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000399/0.007707, allocations: 215 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.007742, allocations: 77.11 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.007937, allocations: 345.1 kB / 274 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.007959, allocations: 25.7 kB / 274 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.008003, allocations: 117.3 kB / 274.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.008041, allocations: 59.56 kB / 274.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.008079, allocations: 29.7 kB / 274.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.008168, allocations: 354.7 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.008197, allocations: 18.81 kB / 274.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.008238, allocations: 43.42 kB / 274.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.233e-05/0.00831, allocations: 92.89 kB / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008312, allocations: 0 / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001166/0.008428, allocations: 115.2 kB / 274.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008442, allocations: 4 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.008448, allocations: 4 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008462, allocations: 0 / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.008556, allocations: 36.05 kB / 274.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008561, allocations: 7.984 kB / 274.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.008606, allocations: 8 kB / 274.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.008613, allocations: 3.984 kB / 274.9 MB, free: 10.81 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.875e-05/0.008692, allocations: 132.5 kB / 275 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.008717, allocations: 27.97 kB / 275 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.0089, allocations: 140.6 kB / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.008904, allocations: 0 / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.008906, allocations: 0 / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.008912, allocations: 11.98 kB / 275.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.009246, allocations: 0.4915 MB / 275.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009248, allocations: 0 / 275.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.009298, allocations: 32.67 kB / 275.7 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.009319, allocations: 27.75 kB / 275.7 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009322, allocations: 0 / 275.7 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.009333, allocations: 7.984 kB / 275.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009335, allocations: 0 / 275.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.009338, allocations: 8 kB / 275.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.009508, allocations: 383.1 kB / 276.1 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.009531, allocations: 11.98 kB / 276.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.009602, allocations: 8 kB / 276.1 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.009637, allocations: 15.91 kB / 276.1 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.00965, allocations: 4 kB / 276.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.009752, allocations: 155.6 kB / 276.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009752, allocations: 0 / 276.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.009946, allocations: 47.92 kB / 276.3 MB, free: 9.258 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001271/0.01122, allocations: 0.6364 MB / 277 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01136, allocations: 80.97 kB / 277.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.01137, allocations: 7.938 kB / 277.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.01143, allocations: 64.94 kB / 277.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.01181, allocations: 354.3 kB / 277.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.01245, allocations: 452.4 kB / 277.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.01251, allocations: 100.1 kB / 278 MB, free: 7.449 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.059e-05/0.01259, allocations: 26.33 kB / 278 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.01268, allocations: 91.34 kB / 278.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01268, allocations: 0 / 278.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of Templates: time 0.004965/0.01764, allocations: 3.253 MB / 281.4 MB, free: 4.082 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8814347786828876]