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.0009883/0.0009883, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001924/0.001924, allocations: 181 kB / 23.36 MB, free: 1.133 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.9027/0.9027, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.01138/0.01138, allocations: 1.989 MB / 262.2 MB, free: 10.96 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.212e-06/1.212e-06, allocations: 0 / 279.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.18e-05, allocations: 6.312 kB / 279.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.005338/0.00535, allocations: 7.497 MB / 287 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 4.398e-06/0.005355, allocations: 7.938 kB / 287 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.005369, allocations: 0 / 287 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.005382, allocations: 4 kB / 287 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.005611, allocations: 96.3 kB / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.005613, allocations: 0 / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.925e-05/0.005643, allocations: 4 kB / 287.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.005672, allocations: 0 / 287.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005749/0.01142, allocations: 49.09 kB / 287.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.441e-05/0.01143, allocations: 0 / 287.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.01144, allocations: 0 / 287.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.046e-06/0.01145, allocations: 7.938 kB / 287.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-06/0.01145, allocations: 0 / 287.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.175e-06/0.01146, allocations: 4 kB / 287.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.661e-05/0.0115, allocations: 3.984 kB / 287.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.0115, allocations: 0 / 287.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.0115, allocations: 3.938 kB / 287.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.0115, allocations: 4 kB / 287.2 MB, free: 1.98 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.0001491/0.01165, allocations: 204.8 kB / 287.4 MB, free: 1.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.01168, allocations: 8.031 kB / 287.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.746e-05/0.0117, allocations: 0.9375 kB / 287.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.68e-05/0.01175, allocations: 109.8 kB / 287.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.01175, allocations: 384 / 287.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.01176, allocations: 4.375 kB / 287.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.733e-05/0.01182, allocations: 26.27 kB / 287.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.01183, allocations: 192 / 287.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.01183, allocations: 8.125 kB / 287.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01184, allocations: 0 / 287.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-06/0.01184, allocations: 3.938 kB / 287.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.01201, allocations: 286.9 kB / 287.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.01206, allocations: 173.2 kB / 288 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.01208, allocations: 80.14 kB / 288.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.0121, allocations: 75.28 kB / 288.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.01212, allocations: 113.8 kB / 288.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.01212, allocations: 0 / 288.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.853e-05/0.01216, allocations: 37.58 kB / 288.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.0122, allocations: 126.7 kB / 288.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/0.01225, allocations: 98.72 kB / 288.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.01226, allocations: 25.7 kB / 288.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.01229, allocations: 92.38 kB / 288.6 MB, free: 412 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.01229, allocations: 0 / 288.6 MB, free: 412 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.01231, allocations: 13.75 kB / 288.6 MB, free: 392 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.01237, allocations: 318.8 kB / 289 MB, free: 64 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-06/0.01237, allocations: 4.125 kB / 289 MB, free: 60 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.01237, allocations: 0 / 289 MB, free: 60 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.01239, allocations: 12.8 kB / 289 MB, free: 44 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01239, allocations: 0 / 289 MB, free: 44 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.557e-05/0.01244, allocations: 29.7 kB / 289 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.01245, allocations: 6.656 kB / 289 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01246, allocations: 3.938 kB / 289 MB, free: 0 / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.01246, allocations: 0 / 289 MB, free: 0 / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09546/0.1079, allocations: 2.734 kB / 289 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1079, allocations: 2.375 kB / 289 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.1079, allocations: 0 / 289 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.108, allocations: 0 / 289 MB, free: 25.17 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.236e-05/0.108, allocations: 187.1 kB / 289.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.108, allocations: 105.8 kB / 289.3 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.108, allocations: 110.4 kB / 289.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.1081, allocations: 182.6 kB / 289.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.1081, allocations: 179.3 kB / 289.8 MB, free: 24.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.1081, allocations: 184.8 kB / 289.9 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.238e-05/0.1082, allocations: 314.4 kB / 290.2 MB, free: 23.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1082, allocations: 107.6 kB / 290.4 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.1082, allocations: 105.4 kB / 290.5 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.1082, allocations: 185.6 kB / 290.6 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1082, allocations: 180.2 kB / 290.8 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.1082, allocations: 179.6 kB / 291 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/0.1082, allocations: 184.2 kB / 291.2 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.502e-05/0.1083, allocations: 303.5 kB / 291.5 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.1083, allocations: 113.8 kB / 291.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1083, allocations: 179.6 kB / 291.8 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.1083, allocations: 108 kB / 291.9 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1084, allocations: 184.8 kB / 292 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1084, allocations: 103.4 kB / 292.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.273e-05/0.1084, allocations: 7.297 kB / 292.1 MB, free: 21.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1084, allocations: 0 / 292.1 MB, free: 21.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.1085, allocations: 4.094 kB / 292.2 MB, free: 21.97 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 5.553e-05/0.1085, allocations: 150.1 kB / 292.3 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.913e-05/0.1086, allocations: 11.52 kB / 292.3 MB, free: 21.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1086, allocations: 0 / 292.3 MB, free: 21.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1086, allocations: 0 / 292.3 MB, free: 21.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1087, allocations: 458.2 kB / 292.8 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.109, allocations: 165 kB / 292.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.607e-05/0.109, allocations: 52.77 kB / 293 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.109, allocations: 0.625 kB / 293 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.109, allocations: 53.2 kB / 293 MB, free: 21.09 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.109, allocations: 0 / 293 MB, free: 21.09 MB / 266.7 MB Notification: Performance of Templates: time 0.001233/0.1102, allocations: 204 kB / 293.2 MB, free: 21.08 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.372091011144221]