Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.0008878/0.0008878, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.0022, 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.0007686/0.0007686, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001781, 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.9669/0.9669, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2388/1.206, allocations: 49.5 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.1163/0.1163, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01986/0.1362, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.322e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00272/0.002733, allocations: 1.847 MB / 269.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004131, allocations: 0.8854 MB / 270 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.004217, allocations: 3.938 kB / 270 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.004674, allocations: 307.2 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.005002, allocations: 215.2 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.005315, allocations: 143.6 kB / 270.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.005619, allocations: 247.3 kB / 270.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.005664, allocations: 6.469 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.005931, allocations: 204.2 kB / 271.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.006144, allocations: 175.7 kB / 271.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.00617, allocations: 8 kB / 271.3 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.006268, allocations: 43.92 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.006394, allocations: 139.6 kB / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.006473, allocations: 55.69 kB / 271.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.006723, allocations: 266.9 kB / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.006733, allocations: 0 / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006734, allocations: 0 / 271.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.006745, allocations: 7.984 kB / 271.8 MB, free: 1.902 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006196/0.007365, allocations: 0.6769 MB / 272.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.007397, allocations: 16.02 kB / 272.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.007439, allocations: 24.91 kB / 272.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.007705, allocations: 297.9 kB / 272.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.007721, allocations: 4.359 kB / 272.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.007732, allocations: 4.375 kB / 272.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.007852, allocations: 91.39 kB / 272.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.00786, allocations: 7.922 kB / 272.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.007867, allocations: 4 kB / 272.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.007871, allocations: 7.938 kB / 272.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.007903, allocations: 17.64 kB / 272.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.008031, allocations: 118.3 kB / 273.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.008137, allocations: 78.8 kB / 273.1 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.008166, allocations: 25.7 kB / 273.2 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.008178, allocations: 8 kB / 273.2 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.00829, allocations: 95.83 kB / 273.3 MB, free: 312 kB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.008291, allocations: 0 / 273.3 MB, free: 312 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001436/0.008434, allocations: 107.7 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.008473, allocations: 89.03 kB / 273.5 MB, free: 88 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.008831, allocations: 0.5868 MB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.008846, allocations: 29.7 kB / 274.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.008899, allocations: 145.3 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.00893, allocations: 27.78 kB / 274.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.008963, allocations: 25.7 kB / 274.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.009056, allocations: 370.7 kB / 274.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.009075, allocations: 18.81 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.009108, allocations: 47.42 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.009165, allocations: 63.89 kB / 274.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009167, allocations: 4 kB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.642e-05/0.009263, allocations: 111.2 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.009273, allocations: 4 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009278, allocations: 4.062 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.009286, allocations: 4 kB / 274.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.009361, allocations: 27.92 kB / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.009364, allocations: 0 / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.009416, allocations: 11.95 kB / 274.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.009425, allocations: 4 kB / 274.9 MB, free: 14.54 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.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 8.861e-05/0.009513, allocations: 136.4 kB / 275.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.00954, allocations: 27.97 kB / 275.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.009668, allocations: 121.7 kB / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.00967, allocations: 4 kB / 275.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.009674, allocations: 8.188 kB / 275.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.009679, allocations: 0 / 275.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.009807, allocations: 169.7 kB / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009809, allocations: 0 / 275.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.009836, allocations: 15.92 kB / 275.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.009879, allocations: 51.66 kB / 275.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.009881, allocations: 4 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.009887, allocations: 0 / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009888, allocations: 0 / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.009891, allocations: 7.938 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.009996, allocations: 142.3 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01002, allocations: 0 / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.01005, allocations: 8 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01008, allocations: 7.984 kB / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.0101, allocations: 11.92 kB / 275.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.0103, allocations: 315.2 kB / 275.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0103, allocations: 0 / 275.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.01046, allocations: 43.94 kB / 276 MB, free: 13.43 MB / 282.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.001044/0.0115, allocations: 0.5547 MB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.01159, allocations: 56.7 kB / 276.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.0116, allocations: 8 kB / 276.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.01164, allocations: 40.77 kB / 276.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01184, allocations: 82.22 kB / 276.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.01258, allocations: 0.645 MB / 277.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.135e-05/0.01266, allocations: 128.2 kB / 277.5 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.01273, allocations: 46.95 kB / 277.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.01284, allocations: 103.3 kB / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01284, allocations: 0 / 277.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.005909/0.01875, allocations: 4.313 MB / 281.9 MB, free: 7.379 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.8825984615832567]