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.001017/0.001017, allocations: 92.22 kB / 19.65 MB, free: 276 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.001191/0.001191, allocations: 173 kB / 23.02 MB, free: 1.547 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.075/1.075, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.0126/0.0126, allocations: 1.987 MB / 261.9 MB, free: 11.05 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.734e-06/1.734e-06, allocations: 0 / 332.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.761e-05, allocations: 2.312 kB / 332.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.009193/0.009221, allocations: 7.536 MB / 339.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 1.031e-05/0.009231, allocations: 8 kB / 339.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.009257, allocations: 0 / 339.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.009282, allocations: 0 / 339.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.009685, allocations: 104.3 kB / 340 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.009689, allocations: 0 / 340 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.009744, allocations: 3.938 kB / 340 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.009796, allocations: 4 kB / 340 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009092/0.01889, allocations: 39.94 kB / 340 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.01891, allocations: 0 / 340 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.01892, allocations: 0 / 340 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.01893, allocations: 0 / 340 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.01894, allocations: 3.938 kB / 340 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.01896, allocations: 4 kB / 340 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.494e-05/0.01903, allocations: 4 kB / 340 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01904, allocations: 0 / 340 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.01904, allocations: 0 / 340 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.01905, allocations: 0 / 340 MB, free: 9.227 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.0002145/0.01926, allocations: 332.4 kB / 340.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01931, allocations: 8.031 kB / 340.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.01935, allocations: 4.938 kB / 340.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.872e-05/0.0194, allocations: 108.6 kB / 340.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.01941, allocations: 384 / 340.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.01942, allocations: 8.297 kB / 340.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.0195, allocations: 34.27 kB / 340.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.0195, allocations: 192 / 340.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.01951, allocations: 4.125 kB / 340.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01952, allocations: 0 / 340.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.01953, allocations: 0 / 340.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.01979, allocations: 470.2 kB / 341 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.01986, allocations: 269.4 kB / 341.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.01989, allocations: 126.9 kB / 341.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01991, allocations: 123.2 kB / 341.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.01994, allocations: 156.5 kB / 341.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.01994, allocations: 4 kB / 341.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.644e-05/0.02001, allocations: 29.7 kB / 341.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.02006, allocations: 170.6 kB / 341.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.02016, allocations: 157.9 kB / 342 MB, free: 7.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.02017, allocations: 29.7 kB / 342 MB, free: 7.059 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.02022, allocations: 131.2 kB / 342.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.02022, allocations: 0 / 342.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.02025, allocations: 15.38 kB / 342.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.02033, allocations: 0.4884 MB / 342.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.02035, allocations: 0 / 342.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.02036, allocations: 4.125 kB / 342.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.0204, allocations: 15.62 kB / 342.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0204, allocations: 0 / 342.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00013/0.02053, allocations: 37.64 kB / 342.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.02055, allocations: 4.938 kB / 342.7 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02056, allocations: 3.938 kB / 342.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.02058, allocations: 0 / 342.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.02066, allocations: 4 kB / 342.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.02067, allocations: 0 / 342.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.02068, allocations: 4.094 kB / 342.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.02069, allocations: 4 kB / 342.7 MB, free: 6.316 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 5.147e-05/0.02074, allocations: 279.8 kB / 343 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.02076, allocations: 148.8 kB / 343.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.02079, allocations: 151.8 kB / 343.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.02081, allocations: 272.1 kB / 343.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.02084, allocations: 264.1 kB / 343.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.02086, allocations: 272 kB / 344.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.439e-05/0.02096, allocations: 495.9 kB / 344.6 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.02097, allocations: 148.8 kB / 344.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.02099, allocations: 156.9 kB / 344.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/0.02102, allocations: 268.1 kB / 345.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.02105, allocations: 272 kB / 345.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.794e-05/0.02107, allocations: 272.3 kB / 345.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.649e-05/0.0211, allocations: 268 kB / 345.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.691e-05/0.02118, allocations: 452 kB / 346.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.02121, allocations: 148.9 kB / 346.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.02124, allocations: 268 kB / 346.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.02128, allocations: 148.8 kB / 346.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.02133, allocations: 272.1 kB / 347.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.02135, allocations: 152.8 kB / 347.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.02138, allocations: 127.2 kB / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02138, allocations: 0 / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.02152, allocations: 4 kB / 347.4 MB, free: 1.387 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 0.0001061/0.02162, allocations: 206.4 kB / 347.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.02171, allocations: 11.69 kB / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.02171, allocations: 0 / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.02171, allocations: 0 / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02195, allocations: 0.71 MB / 348.4 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.02247, allocations: 227.1 kB / 348.6 MB, free: 196 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.02252, allocations: 51.36 kB / 348.6 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.02255, allocations: 0 / 348.6 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.02258, allocations: 12.5 kB / 348.7 MB, free: 112 kB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02258, allocations: 0 / 348.7 MB, free: 112 kB / 266.7 MB Notification: Performance of Templates: time 0.00199/0.02457, allocations: 193.1 kB / 348.8 MB, free: 15.92 MB / 282.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: 2.9243590589612722]