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.0006987/0.0006987, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009536/0.001652, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007058/0.0007058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009151/0.001621, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9603/0.9603, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0824/1.043, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.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.01635/0.01635, allocations: 1.985 MB / 246 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003561/0.01991, allocations: 1.234 MB / 247.2 MB, free: 11.62 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.413e-06/1.413e-06, allocations: 0 / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.283e-05, allocations: 2.312 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.009629/0.009652, allocations: 7.548 MB / 256 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 1.432e-05/0.009666, allocations: 7.922 kB / 256 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.009682, allocations: 0 / 256 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.009694, allocations: 7.984 kB / 256 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.009986, allocations: 92.33 kB / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.009989, allocations: 0 / 256.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.089e-05/0.01003, allocations: 4 kB / 256.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.01007, allocations: 7.922 kB / 256.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008801/0.01887, allocations: 44.06 kB / 256.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.755e-05/0.01889, allocations: 0 / 256.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.0189, allocations: 0 / 256.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-06/0.0189, allocations: 0 / 256.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.01891, allocations: 3.938 kB / 256.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.01892, allocations: 8 kB / 256.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 4.683e-05/0.01897, allocations: 0 / 256.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.01898, allocations: 0 / 256.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01899, allocations: 0 / 256.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.019, allocations: 0 / 256.1 MB, free: 2.633 MB / 250.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.0001852/0.01918, allocations: 216.7 kB / 256.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.01921, allocations: 12.03 kB / 256.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.01923, allocations: 0.9375 kB / 256.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.959e-05/0.01928, allocations: 101.8 kB / 256.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.01929, allocations: 8.359 kB / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-06/0.0193, allocations: 384 / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.683e-05/0.01935, allocations: 34.2 kB / 256.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.01936, allocations: 192 / 256.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.01936, allocations: 4.125 kB / 256.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.01937, allocations: 0 / 256.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.125e-05/0.01938, allocations: 4 kB / 256.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.01956, allocations: 290.9 kB / 256.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.01961, allocations: 169.1 kB / 257 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.01964, allocations: 88.17 kB / 257.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.01965, allocations: 75.28 kB / 257.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.01968, allocations: 105.8 kB / 257.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01968, allocations: 4 kB / 257.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.233e-05/0.01973, allocations: 29.64 kB / 257.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.01977, allocations: 130.7 kB / 257.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.01982, allocations: 102.6 kB / 257.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.01983, allocations: 25.7 kB / 257.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.01986, allocations: 88.09 kB / 257.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.01987, allocations: 0 / 257.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.01989, allocations: 13.66 kB / 257.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.01996, allocations: 314.8 kB / 257.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.01996, allocations: 4.125 kB / 257.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.01996, allocations: 4 kB / 257.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.01998, allocations: 4.859 kB / 257.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01999, allocations: 0 / 257.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.864e-05/0.02003, allocations: 37.69 kB / 258 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.02004, allocations: 4 kB / 258 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02005, allocations: 7.922 kB / 258 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.02006, allocations: 0 / 258 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.0201, allocations: 4 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.0201, allocations: 3.938 kB / 258 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-06/0.02011, allocations: 8.094 kB / 258 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.02011, allocations: 0 / 258 MB, free: 0.6172 MB / 250.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.558e-05/0.02017, allocations: 181.1 kB / 258.2 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.0202, allocations: 109 kB / 258.3 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.02024, allocations: 111.9 kB / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.02028, allocations: 180.2 kB / 258.6 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-05/0.02035, allocations: 180.3 kB / 258.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.02039, allocations: 180.2 kB / 258.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.02054, allocations: 313.5 kB / 259.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.02056, allocations: 109 kB / 259.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.02058, allocations: 109.1 kB / 259.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.02061, allocations: 109 kB / 259.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/0.02065, allocations: 180.2 kB / 259.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.02069, allocations: 184.3 kB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-05/0.02077, allocations: 188.1 kB / 260.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-05/0.02081, allocations: 176.3 kB / 260.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.214e-05/0.02089, allocations: 311.8 kB / 260.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.02093, allocations: 180.2 kB / 260.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.02098, allocations: 104.9 kB / 260.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.02102, allocations: 184.2 kB / 261 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.02104, allocations: 108.9 kB / 261.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.122e-05/0.02105, allocations: 8.859 kB / 261.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02105, allocations: 0 / 261.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001088/0.02116, allocations: 4 kB / 261.1 MB, free: 13.3 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.755e-05/0.02124, allocations: 147.6 kB / 261.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.411e-05/0.02128, allocations: 12.84 kB / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.02129, allocations: 0 / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.02129, allocations: 0 / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.02146, allocations: 467.6 kB / 261.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.02202, allocations: 169.8 kB / 261.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.02205, allocations: 51.36 kB / 262 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.02206, allocations: 3.938 kB / 262 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.02209, allocations: 47.38 kB / 262 MB, free: 12.35 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02209, allocations: 4 kB / 262 MB, free: 12.35 MB / 266.7 MB Notification: Performance of Templates: time 0.001318/0.0234, allocations: 193.1 kB / 262.2 MB, free: 12.16 MB / 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: 2.2745818495750427]