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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0237/0.0237, allocations: 2.797 MB / 307.3 MB, free: 3.238 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001956/0.001956, allocations: 71.89 kB / 428.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.244, allocations: 52.94 MB / 481.2 MB, free: 27.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.006005/0.25, allocations: 7.4 MB / 488.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 6.923e-06/0.2501, allocations: 3.984 kB / 488.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.2501, allocations: 3.219 kB / 488.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2501, allocations: 4 kB / 488.7 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.2504, allocations: 109 kB / 488.8 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.2504, allocations: 3.938 kB / 488.8 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.254e-05/0.2504, allocations: 3.344 kB / 488.8 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.2504, allocations: 7.281 kB / 488.8 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02015/0.2706, allocations: 33.22 kB / 488.8 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.071e-05/0.2706, allocations: 3.984 kB / 488.8 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.2706, allocations: 0 / 488.8 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.2706, allocations: 3.281 kB / 488.8 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.2706, allocations: 4 kB / 488.8 MB, free: 22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.2707, allocations: 0 / 488.8 MB, free: 22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.283e-05/0.2707, allocations: 0 / 488.8 MB, free: 22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2707, allocations: 3.156 kB / 488.8 MB, free: 22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2707, allocations: 0 / 488.8 MB, free: 22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2707, allocations: 0 / 488.8 MB, free: 22 MB / 366.1 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.0002692/0.271, allocations: 314.3 kB / 489.1 MB, free: 21.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2711, allocations: 9.5 kB / 489.1 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2711, allocations: 0.9375 kB / 489.1 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.2712, allocations: 163.9 kB / 489.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2712, allocations: 4.375 kB / 489.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2712, allocations: 384 / 489.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.2713, allocations: 36.95 kB / 489.3 MB, free: 21.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2713, allocations: 3.938 kB / 489.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2713, allocations: 0 / 489.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2713, allocations: 3.984 kB / 489.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.2714, allocations: 3.031 kB / 489.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.2716, allocations: 381.3 kB / 489.7 MB, free: 20.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.2717, allocations: 168.2 kB / 489.9 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.2717, allocations: 84.83 kB / 490 MB, free: 20.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2717, allocations: 75.28 kB / 490 MB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2717, allocations: 110.5 kB / 490.1 MB, free: 20.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.2717, allocations: 4 kB / 490.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.477e-05/0.2718, allocations: 29.44 kB / 490.2 MB, free: 20.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2719, allocations: 126.7 kB / 490.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.2719, allocations: 91.31 kB / 490.4 MB, free: 20.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.2719, allocations: 32.73 kB / 490.4 MB, free: 20.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.2719, allocations: 80.14 kB / 490.5 MB, free: 20.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.272, allocations: 0 / 490.5 MB, free: 20.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.272, allocations: 13.44 kB / 490.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.272, allocations: 323.5 kB / 490.8 MB, free: 19.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.272, allocations: 3.938 kB / 490.8 MB, free: 19.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.2721, allocations: 0.6562 kB / 490.8 MB, free: 19.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.2721, allocations: 7.984 kB / 490.8 MB, free: 19.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2721, allocations: 0 / 490.8 MB, free: 19.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001146/0.2722, allocations: 33.14 kB / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2722, allocations: 3.922 kB / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2722, allocations: 7.125 kB / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2722, allocations: 0 / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.2723, allocations: 0.7031 kB / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2723, allocations: 0 / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.2723, allocations: 3.062 kB / 490.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2723, allocations: 0 / 490.9 MB, free: 19.77 MB / 366.1 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.749e-05/0.2724, allocations: 199.2 kB / 491.1 MB, free: 19.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.2724, allocations: 108.8 kB / 491.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2725, allocations: 112.8 kB / 491.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.2725, allocations: 180.8 kB / 491.5 MB, free: 19.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/0.2725, allocations: 180 kB / 491.7 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/0.2725, allocations: 181.2 kB / 491.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.2727, allocations: 411.2 kB / 492.2 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.2727, allocations: 108.7 kB / 492.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.2728, allocations: 105.5 kB / 492.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.2728, allocations: 176.9 kB / 492.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.2728, allocations: 184 kB / 492.8 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.489e-05/0.2728, allocations: 177 kB / 493 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-05/0.2729, allocations: 180.9 kB / 493.1 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.667e-05/0.273, allocations: 308.9 kB / 493.4 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.273, allocations: 186.3 kB / 493.6 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.273, allocations: 181.6 kB / 493.8 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.2731, allocations: 105.7 kB / 493.9 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2731, allocations: 188.4 kB / 494.1 MB, free: 16.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2732, allocations: 101 kB / 494.2 MB, free: 16.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.054e-05/0.2732, allocations: 76.31 kB / 494.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2732, allocations: 3.281 kB / 494.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.2736, allocations: 0 / 494.3 MB, free: 16.2 MB / 366.1 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 8.702e-05/0.2737, allocations: 164.1 kB / 494.4 MB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.2737, allocations: 11.06 kB / 494.4 MB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2737, allocations: 8.094 kB / 494.4 MB, free: 16.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.2737, allocations: 0 / 494.4 MB, free: 16.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.2741, allocations: 465.9 kB / 494.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.2744, allocations: 147 kB / 495 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2745, allocations: 0.6734 MB / 495.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.2745, allocations: 4 kB / 495.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2745, allocations: 7.438 kB / 495.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2745, allocations: 0 / 495.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Templates: time 0.003233/0.2778, allocations: 166.2 kB / 495.9 MB, free: 14.66 MB / 366.1 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: 4.457318568602204]