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.000931/0.000931, allocations: 80.75 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.001092/0.001092, 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.9479/0.9479, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.009131/0.009131, allocations: 1.994 MB / 262.3 MB, free: 10.93 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.362e-06/1.362e-06, allocations: 0 / 279.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.443e-05, allocations: 2.312 kB / 279.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.006065/0.006079, allocations: 7.54 MB / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 4.138e-06/0.006084, allocations: 0 / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.0061, allocations: 0 / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.006113, allocations: 0 / 287.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.006362, allocations: 104.3 kB / 287.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.564e-06/0.006365, allocations: 0 / 287.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.261e-05/0.006398, allocations: 7.938 kB / 287.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.00643, allocations: 0 / 287.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/0.01412, allocations: 46.03 kB / 287.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.01414, allocations: 4 kB / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.01415, allocations: 0 / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.01415, allocations: 0 / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-06/0.01416, allocations: 0 / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.846e-06/0.01417, allocations: 0 / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.691e-05/0.01421, allocations: 8 kB / 287.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01422, allocations: 4 kB / 287.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01422, allocations: 0 / 287.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.01422, allocations: 0 / 287.3 MB, free: 1.887 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.0001487/0.01437, allocations: 208.8 kB / 287.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.0144, allocations: 8.031 kB / 287.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.733e-05/0.01442, allocations: 4.938 kB / 287.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.01447, allocations: 109.7 kB / 287.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.01448, allocations: 384 / 287.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-06/0.01448, allocations: 384 / 287.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.096e-05/0.01453, allocations: 30.27 kB / 287.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.01454, allocations: 4.188 kB / 287.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.01454, allocations: 4.125 kB / 287.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.01455, allocations: 0 / 287.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-06/0.01456, allocations: 3.938 kB / 287.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.01478, allocations: 282.9 kB / 287.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.01483, allocations: 177.1 kB / 288.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.01485, allocations: 80.14 kB / 288.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.01487, allocations: 75.28 kB / 288.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01491, allocations: 113.8 kB / 288.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.01491, allocations: 0 / 288.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.815e-05/0.01495, allocations: 37.58 kB / 288.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.01499, allocations: 126.7 kB / 288.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.01505, allocations: 102.7 kB / 288.6 MB, free: 432 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.01506, allocations: 25.7 kB / 288.6 MB, free: 400 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.01509, allocations: 88.38 kB / 288.7 MB, free: 308 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.01509, allocations: 0 / 288.7 MB, free: 308 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.01511, allocations: 17.75 kB / 288.7 MB, free: 284 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.101/0.1161, allocations: 311.7 kB / 289 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.1161, allocations: 0 / 289 MB, free: 20.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.1161, allocations: 0.6562 kB / 289 MB, free: 20.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1162, allocations: 10.62 kB / 289.1 MB, free: 20.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1162, allocations: 0 / 289.1 MB, free: 20.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.028e-05/0.1162, allocations: 35.2 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1162, allocations: 5.312 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1162, allocations: 2.25 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1163, allocations: 0 / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.1163, allocations: 2.719 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1163, allocations: 5.781 kB / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.1163, allocations: 0 / 289.1 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1163, allocations: 1.438 kB / 289.1 MB, free: 20.55 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.138e-05/0.1164, allocations: 185.5 kB / 289.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.1164, allocations: 106.3 kB / 289.4 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.1164, allocations: 109.2 kB / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.1164, allocations: 184.4 kB / 289.7 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.1165, allocations: 180.8 kB / 289.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.1165, allocations: 183.2 kB / 290 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.485e-05/0.1166, allocations: 315 kB / 290.3 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.1166, allocations: 106.7 kB / 290.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.1166, allocations: 104.8 kB / 290.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.1166, allocations: 182.1 kB / 290.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1166, allocations: 181.5 kB / 290.9 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.1166, allocations: 181.9 kB / 291.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.1166, allocations: 176.9 kB / 291.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.175e-05/0.1167, allocations: 311.2 kB / 291.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.1167, allocations: 108.5 kB / 291.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1167, allocations: 180.9 kB / 291.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.526e-05/0.1168, allocations: 112.9 kB / 291.9 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.1168, allocations: 180.3 kB / 292.1 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1168, allocations: 113.9 kB / 292.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.1168, allocations: 9.578 kB / 292.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1168, allocations: 0.5469 kB / 292.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.117, allocations: 0 / 292.2 MB, free: 17.36 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 6.769e-05/0.1171, allocations: 148.4 kB / 292.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.491e-05/0.1171, allocations: 8.484 kB / 292.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1171, allocations: 0.7812 kB / 292.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.1171, allocations: 6.297 kB / 292.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1173, allocations: 458.2 kB / 292.9 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.1175, allocations: 157.4 kB / 293 MB, free: 16.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.003e-05/0.1176, allocations: 56 kB / 293.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.1176, allocations: 2.719 kB / 293.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.1176, allocations: 48.59 kB / 293.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1176, allocations: 0 / 293.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of Templates: time 0.001454/0.119, allocations: 202.9 kB / 293.3 MB, free: 16.46 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4690846418961883]