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.0007531/0.0007531, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007629/0.0007629, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8157/0.8157, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.007259/0.007259, allocations: 1.983 MB / 261.9 MB, free: 11.27 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.513e-06/1.513e-06, allocations: 3.938 kB / 385.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.686e-05, allocations: 2.281 kB / 385.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007711/0.007727, allocations: 6.814 MB / 392.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 7.103e-06/0.007735, allocations: 3.984 kB / 392.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.00775, allocations: 0 / 392.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.007766, allocations: 4 kB / 392.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.008078, allocations: 88.38 kB / 392.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.008082, allocations: 0 / 392.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.008125, allocations: 11.88 kB / 392.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.00816, allocations: 0 / 392.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.0128, allocations: 42.89 kB / 392.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.259e-05/0.01281, allocations: 7.938 kB / 392.8 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.01282, allocations: 3.938 kB / 392.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.01283, allocations: 0 / 392.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.01283, allocations: 0 / 392.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.063e-05/0.01284, allocations: 0 / 392.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 4.5e-05/0.01289, allocations: 8 kB / 392.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01289, allocations: 0 / 392.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01289, allocations: 0 / 392.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.0129, allocations: 0 / 392.9 MB, free: 4.453 MB / 314.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.0002171/0.01311, allocations: 241.7 kB / 393.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01315, allocations: 8.031 kB / 393.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.01318, allocations: 0.9375 kB / 393.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.01325, allocations: 105.8 kB / 393.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.01326, allocations: 384 / 393.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.01327, allocations: 384 / 393.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.01333, allocations: 30.27 kB / 393.2 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.01334, allocations: 192 / 393.2 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.01335, allocations: 4.125 kB / 393.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.01335, allocations: 4 kB / 393.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.455e-05/0.01336, allocations: 3.938 kB / 393.3 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.01356, allocations: 331.2 kB / 393.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.01362, allocations: 165.1 kB / 393.7 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.01364, allocations: 80.14 kB / 393.8 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.01366, allocations: 79.31 kB / 393.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.01369, allocations: 113.7 kB / 394 MB, free: 3.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.01369, allocations: 0 / 394 MB, free: 3.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.63e-05/0.01374, allocations: 33.7 kB / 394 MB, free: 3.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.01377, allocations: 130.7 kB / 394.2 MB, free: 3.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.01382, allocations: 89.86 kB / 394.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.01383, allocations: 25.7 kB / 394.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.01408, allocations: 88.08 kB / 394.4 MB, free: 2.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.01408, allocations: 3.984 kB / 394.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.0141, allocations: 17.66 kB / 394.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.01417, allocations: 314.8 kB / 394.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.01417, allocations: 0 / 394.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-06/0.01418, allocations: 4.125 kB / 394.7 MB, free: 2.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.0142, allocations: 12.86 kB / 394.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0142, allocations: 4 kB / 394.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.487e-05/0.01426, allocations: 37.64 kB / 394.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.01427, allocations: 4 kB / 394.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.01428, allocations: 0 / 394.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01429, allocations: 3.984 kB / 394.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.652e-05/0.01433, allocations: 0 / 394.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01433, allocations: 7.938 kB / 394.8 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-06/0.01434, allocations: 0 / 394.8 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.01434, allocations: 4.031 kB / 394.8 MB, free: 2.371 MB / 314.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.996e-05/0.01439, allocations: 181.1 kB / 394.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.01442, allocations: 116.9 kB / 395.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.01445, allocations: 107.8 kB / 395.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/0.01448, allocations: 184.2 kB / 395.3 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-05/0.01452, allocations: 180.3 kB / 395.5 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/0.01455, allocations: 176.3 kB / 395.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.01466, allocations: 360.8 kB / 396 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.01468, allocations: 105 kB / 396.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.0147, allocations: 104.9 kB / 396.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-05/0.01474, allocations: 184.3 kB / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.01477, allocations: 180.2 kB / 396.6 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.369e-05/0.01481, allocations: 180.2 kB / 396.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.358e-05/0.01484, allocations: 180.3 kB / 397 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.01495, allocations: 307.8 kB / 397.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.01497, allocations: 101 kB / 397.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.01501, allocations: 188.1 kB / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.01505, allocations: 105 kB / 397.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01509, allocations: 188.2 kB / 397.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.01511, allocations: 105 kB / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.01514, allocations: 79.28 kB / 398 MB, free: 14.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01514, allocations: 0 / 398 MB, free: 14.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.01527, allocations: 0 / 398 MB, free: 14.94 MB / 330.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 6.529e-05/0.01534, allocations: 174.4 kB / 398.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.485e-05/0.01538, allocations: 3.938 kB / 398.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01539, allocations: 4 kB / 398.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.01539, allocations: 0 / 398.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.0156, allocations: 459.7 kB / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.01576, allocations: 190.2 kB / 398.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.01579, allocations: 59.52 kB / 398.9 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.0158, allocations: 8.5 kB / 398.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.0158, allocations: 0 / 398.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Templates: time 0.0008896/0.01669, allocations: 343.8 kB / 399.2 MB, free: 13.66 MB / 330.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.6615542266517878] Failed to read output from testmodel.py, exit status != 0: 0.021852783858776093 0.137392925 0.013861519000000001 Calling exit ...