Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.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.002321/0.002321, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002866/0.002866, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.0161/0.0161, allocations: 2 MB / 261.5 MB, free: 11.11 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") translateModel(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 331.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.583e-05, allocations: 2.312 kB / 331.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.006415/0.00644, allocations: 7.476 MB / 339.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 7.645e-06/0.006448, allocations: 0 / 339.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.006466, allocations: 0 / 339.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.006479, allocations: 0 / 339.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.006804, allocations: 104.3 kB / 339.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.006808, allocations: 0 / 339.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.962e-05/0.006848, allocations: 4 kB / 339.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.006884, allocations: 0 / 339.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02115/0.02803, allocations: 45.75 kB / 339.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.02805, allocations: 0 / 339.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.02806, allocations: 4 kB / 339.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-06/0.02807, allocations: 0 / 339.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-06/0.02807, allocations: 0 / 339.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.02809, allocations: 4 kB / 339.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.773e-05/0.02814, allocations: 3.984 kB / 339.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.02815, allocations: 3.938 kB / 339.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02815, allocations: 4 kB / 339.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.02816, allocations: 0 / 339.2 MB, free: 9.637 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002206/0.02838, allocations: 332.4 kB / 339.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.02841, allocations: 11.97 kB / 339.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.02845, allocations: 0.9375 kB / 339.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.46e-05/0.02849, allocations: 104.6 kB / 339.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.02851, allocations: 8.375 kB / 339.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.02851, allocations: 384 / 339.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/0.02859, allocations: 38.25 kB / 339.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.0286, allocations: 192 / 339.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.0286, allocations: 4.125 kB / 339.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.02861, allocations: 0 / 339.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.02863, allocations: 4 kB / 339.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.02883, allocations: 470.1 kB / 340.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.02889, allocations: 265.4 kB / 340.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.02891, allocations: 126.9 kB / 340.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.02893, allocations: 123.2 kB / 340.7 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.02895, allocations: 156.5 kB / 340.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.02895, allocations: 4 kB / 340.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.558e-05/0.02901, allocations: 33.62 kB / 340.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.02905, allocations: 174.6 kB / 341 MB, free: 7.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.02911, allocations: 153.9 kB / 341.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.02911, allocations: 25.7 kB / 341.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.02914, allocations: 130.8 kB / 341.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.02914, allocations: 0 / 341.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.02916, allocations: 19.38 kB / 341.4 MB, free: 7.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.02922, allocations: 492.1 kB / 341.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.02923, allocations: 0 / 341.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.02923, allocations: 8.125 kB / 341.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/0.02925, allocations: 11.67 kB / 341.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.02925, allocations: 0 / 341.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.102e-05/0.02933, allocations: 45.58 kB / 341.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.02934, allocations: 4 kB / 341.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.02935, allocations: 0 / 341.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.02936, allocations: 0 / 341.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.02941, allocations: 0 / 341.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.02941, allocations: 4 kB / 341.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.02942, allocations: 96 / 341.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.02943, allocations: 7.984 kB / 341.9 MB, free: 6.727 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.765e-05/0.02947, allocations: 275.7 kB / 342.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.02951, allocations: 168.8 kB / 342.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.02954, allocations: 147.9 kB / 342.5 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.02957, allocations: 268.1 kB / 342.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.14e-05/0.0296, allocations: 272 kB / 343 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/0.02963, allocations: 264.1 kB / 343.3 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.02976, allocations: 499.8 kB / 343.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.02977, allocations: 144.9 kB / 343.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.02979, allocations: 148.9 kB / 344.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.163e-05/0.02982, allocations: 276 kB / 344.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.02985, allocations: 272 kB / 344.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.007e-05/0.02988, allocations: 268 kB / 344.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.109e-05/0.02991, allocations: 268.1 kB / 345.1 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.801e-05/0.02999, allocations: 444 kB / 345.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.03001, allocations: 148.9 kB / 345.7 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.03006, allocations: 280 kB / 346 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.03012, allocations: 144.9 kB / 346.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.03016, allocations: 268 kB / 346.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.03017, allocations: 148.9 kB / 346.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.376e-05/0.0302, allocations: 131.2 kB / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0302, allocations: 0 / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.0304, allocations: 0 / 346.7 MB, free: 1.801 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 7.994e-05/0.03048, allocations: 210.4 kB / 346.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.03055, allocations: 11.69 kB / 346.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.03055, allocations: 0 / 346.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.03055, allocations: 3.938 kB / 346.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.03082, allocations: 0.7047 MB / 347.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.03102, allocations: 219.4 kB / 347.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.03105, allocations: 59.34 kB / 347.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.03107, allocations: 0 / 347.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.0311, allocations: 8.5 kB / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0311, allocations: 0 / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of Templates: time 0.002261/0.03336, allocations: 188.8 kB / 348 MB, free: 356 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.418857465032488]