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.001046/0.001046, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001047/0.001047, allocations: 173 kB / 23.49 MB, free: 1.059 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.061/1.061, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.009107/0.009107, allocations: 1.988 MB / 262.3 MB, free: 11.12 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.463e-06/1.463e-06, allocations: 0 / 332.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.672e-05, allocations: 9.125 kB / 332.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.00681/0.006837, allocations: 7.515 MB / 339.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 8.156e-06/0.006845, allocations: 7.984 kB / 339.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.006868, allocations: 0 / 339.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.006883, allocations: 4 kB / 339.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.007189, allocations: 88.33 kB / 339.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.007192, allocations: 0 / 339.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.00724, allocations: 11.92 kB / 340 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.007276, allocations: 7.922 kB / 340 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.01085, allocations: 38.28 kB / 340 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.612e-05/0.01086, allocations: 0 / 340 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.01087, allocations: 0 / 340 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.01088, allocations: 0 / 340 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.01089, allocations: 3.938 kB / 340 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.0109, allocations: 8 kB / 340 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.084e-05/0.01096, allocations: 0 / 340 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01096, allocations: 0 / 340 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01097, allocations: 0 / 340 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.01097, allocations: 0 / 340 MB, free: 10.63 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.0001912/0.01116, allocations: 336.4 kB / 340.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.0112, allocations: 12.03 kB / 340.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.01122, allocations: 4.938 kB / 340.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.281e-05/0.01129, allocations: 104.6 kB / 340.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.0113, allocations: 384 / 340.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.01131, allocations: 4.375 kB / 340.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/0.01139, allocations: 30.27 kB / 340.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.0114, allocations: 192 / 340.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.01141, allocations: 4.125 kB / 340.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01141, allocations: 0 / 340.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.229e-05/0.01142, allocations: 7.938 kB / 340.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.01173, allocations: 474.2 kB / 341 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.01183, allocations: 265.4 kB / 341.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.01187, allocations: 126.9 kB / 341.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.0119, allocations: 119.2 kB / 341.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.01195, allocations: 168.5 kB / 341.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 2.414e-06/0.01195, allocations: 3.984 kB / 341.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.32e-05/0.012, allocations: 25.7 kB / 341.7 MB, free: 8.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.01207, allocations: 174.6 kB / 341.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.01217, allocations: 157.9 kB / 342 MB, free: 8.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.01218, allocations: 25.7 kB / 342 MB, free: 8.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.01223, allocations: 131.2 kB / 342.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.01224, allocations: 0 / 342.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.01226, allocations: 19.38 kB / 342.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01239, allocations: 492.1 kB / 342.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.0124, allocations: 4.125 kB / 342.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.01241, allocations: 0 / 342.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.01245, allocations: 23.56 kB / 342.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01245, allocations: 0 / 342.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.01256, allocations: 37.62 kB / 342.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01257, allocations: 4 kB / 342.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01258, allocations: 4 kB / 342.7 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01259, allocations: 0 / 342.7 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.01265, allocations: 0 / 342.7 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01266, allocations: 3.984 kB / 342.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-06/0.01266, allocations: 4.094 kB / 342.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.01267, allocations: 4 kB / 342.7 MB, free: 7.711 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 0.0001019/0.01277, allocations: 271.8 kB / 343 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.01283, allocations: 152.8 kB / 343.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.0129, allocations: 163.7 kB / 343.3 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.01297, allocations: 268 kB / 343.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.386e-05/0.01304, allocations: 264.1 kB / 343.8 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.858e-05/0.01312, allocations: 268.1 kB / 344.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.0133, allocations: 496 kB / 344.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/0.01334, allocations: 156.9 kB / 344.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.01337, allocations: 152.8 kB / 344.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.925e-05/0.01343, allocations: 264.1 kB / 345.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.01349, allocations: 272 kB / 345.4 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-05/0.01356, allocations: 272 kB / 345.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.618e-05/0.01362, allocations: 268.1 kB / 345.9 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.01376, allocations: 444 kB / 346.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.01381, allocations: 152.8 kB / 346.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.01388, allocations: 272 kB / 346.8 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.01395, allocations: 152.9 kB / 346.9 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.01402, allocations: 268 kB / 347.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.01406, allocations: 152.9 kB / 347.3 MB, free: 2.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.0141, allocations: 123.2 kB / 347.4 MB, free: 2.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0141, allocations: 0 / 347.4 MB, free: 2.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.01424, allocations: 0 / 347.4 MB, free: 2.785 MB / 314.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.000106/0.01435, allocations: 210.4 kB / 347.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.01441, allocations: 15.61 kB / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01442, allocations: 0 / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.01442, allocations: 0 / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01472, allocations: 0.7101 MB / 348.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.01514, allocations: 215.2 kB / 348.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.01517, allocations: 63.2 kB / 348.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.495e-05/0.01519, allocations: 0 / 348.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.01521, allocations: 8.5 kB / 348.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01521, allocations: 0 / 348.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of Templates: time 0.001555/0.01676, allocations: 181.2 kB / 348.8 MB, free: 1.324 MB / 314.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.8340519121848047]