Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009846/0.0009846, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002568, allocations: 449.7 kB / 10.37 MB, free: 328 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.001039/0.001039, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002402, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.192/1.192, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.119/1.311, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.3152/0.3152, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03298/0.3482, allocations: 12.54 MB / 289.3 MB, free: 8.672 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.387e-05, allocations: 5.828 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002722/0.002746, allocations: 1.884 MB / 292.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.004463, allocations: 1.095 MB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004587, allocations: 6.406 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.005032, allocations: 308.1 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.005515, allocations: 255 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.005827, allocations: 111.6 kB / 294.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.006208, allocations: 271.2 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.00628, allocations: 10.47 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.006608, allocations: 212.2 kB / 294.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.006852, allocations: 176.4 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.006878, allocations: 8 kB / 295 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.007012, allocations: 55.84 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.007147, allocations: 135.6 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.007227, allocations: 59.69 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.007552, allocations: 267 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.986e-05/0.007572, allocations: 4 kB / 295.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007574, allocations: 4 kB / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.007598, allocations: 3.938 kB / 295.5 MB, free: 3.391 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008981/0.008496, allocations: 0.693 MB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.008534, allocations: 8.625 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.0086, allocations: 28.91 kB / 296.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.00897, allocations: 309.8 kB / 296.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.008997, allocations: 4.375 kB / 296.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.009011, allocations: 4.375 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.009216, allocations: 91.39 kB / 296.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.009231, allocations: 7.938 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.009243, allocations: 0 / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.00925, allocations: 0 / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.009296, allocations: 21.64 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.009514, allocations: 122.3 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.009658, allocations: 82.8 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.009691, allocations: 17.72 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.009708, allocations: 8 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.009875, allocations: 103.8 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.009877, allocations: 0 / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002099/0.01009, allocations: 107.2 kB / 297.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.01014, allocations: 89.05 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.01058, allocations: 0.6063 MB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01059, allocations: 29.64 kB / 297.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.01066, allocations: 145.3 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.0107, allocations: 39.72 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.01075, allocations: 25.7 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01087, allocations: 374.7 kB / 298.4 MB, free: 304 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.0109, allocations: 10.83 kB / 298.4 MB, free: 292 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.01094, allocations: 36.92 kB / 298.4 MB, free: 244 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.01102, allocations: 76.31 kB / 298.5 MB, free: 152 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01102, allocations: 0 / 298.5 MB, free: 152 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001117/0.01113, allocations: 107.2 kB / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01115, allocations: 8 kB / 298.6 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01115, allocations: 4.062 kB / 298.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.01116, allocations: 0 / 298.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01127, allocations: 24.19 kB / 298.7 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01128, allocations: 7.938 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.01133, allocations: 11.98 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.01134, allocations: 4 kB / 298.7 MB, free: 15.97 MB / 298.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001089/0.01145, allocations: 125.4 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.01148, allocations: 31.95 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.01164, allocations: 113.9 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01165, allocations: 4 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01165, allocations: 7.938 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01166, allocations: 3.984 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.0118, allocations: 165.7 kB / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01181, allocations: 256 / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.01184, allocations: 19.98 kB / 299.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.01189, allocations: 47.67 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01189, allocations: 0 / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.0119, allocations: 7.984 kB / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.0119, allocations: 0 / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01191, allocations: 0 / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.01204, allocations: 152.1 kB / 299.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.01207, allocations: 3.984 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.01211, allocations: 8 kB / 299.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.01215, allocations: 7.984 kB / 299.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01216, allocations: 4 kB / 299.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.01239, allocations: 327.1 kB / 299.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01239, allocations: 0 / 299.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.01255, allocations: 51.92 kB / 299.7 MB, free: 14.85 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001394/0.01394, allocations: 0.5473 MB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01407, allocations: 52.78 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.01408, allocations: 4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/0.01413, allocations: 36.77 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01439, allocations: 101.1 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.01529, allocations: 0.6732 MB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.01538, allocations: 132.2 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.01545, allocations: 51.36 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.01556, allocations: 95.36 kB / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01556, allocations: 0 / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Templates: time 0.006997/0.02256, allocations: 4.35 MB / 305.8 MB, free: 9.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.2818312952294946]