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.00186/0.00186, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001803/0.001803, allocations: 164.4 kB / 23.01 MB, free: 4.594 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.992 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.01463/0.01463, allocations: 1.999 MB / 261.8 MB, free: 14.7 MB / 254.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.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: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.83 kB / 385.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1136, allocations: 54.13 MB / 439.8 MB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.009461/0.1231, allocations: 6.826 MB / 446.6 MB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 9.588e-06/0.1231, allocations: 4 kB / 446.6 MB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.1231, allocations: 0 / 446.6 MB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1231, allocations: 4 kB / 446.6 MB, free: 5.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1235, allocations: 92.36 kB / 446.7 MB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.1235, allocations: 0 / 446.7 MB, free: 5.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.1235, allocations: 7.938 kB / 446.7 MB, free: 5.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.1236, allocations: 0 / 446.7 MB, free: 5.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01928/0.1428, allocations: 39.98 kB / 446.7 MB, free: 5.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.1429, allocations: 4 kB / 446.7 MB, free: 5.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1429, allocations: 0 / 446.7 MB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.1429, allocations: 4 kB / 446.7 MB, free: 5.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1429, allocations: 0 / 446.7 MB, free: 5.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1429, allocations: 0 / 446.7 MB, free: 5.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.143, allocations: 7.938 kB / 446.8 MB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.143, allocations: 7.984 kB / 446.8 MB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.143, allocations: 3.938 kB / 446.8 MB, free: 5.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.143, allocations: 0 / 446.8 MB, free: 5.199 MB / 414.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.0003961/0.1434, allocations: 234.4 kB / 447 MB, free: 4.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1435, allocations: 8.031 kB / 447 MB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1435, allocations: 0.9375 kB / 447 MB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1437, allocations: 106.5 kB / 447.1 MB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1437, allocations: 4.375 kB / 447.1 MB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1437, allocations: 384 / 447.1 MB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1438, allocations: 33.81 kB / 447.1 MB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1438, allocations: 0 / 447.1 MB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1438, allocations: 0 / 447.1 MB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1438, allocations: 4 kB / 447.2 MB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.1438, allocations: 4 kB / 447.2 MB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1442, allocations: 327.1 kB / 447.5 MB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1444, allocations: 173.1 kB / 447.6 MB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.1444, allocations: 80.14 kB / 447.7 MB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.1445, allocations: 83.31 kB / 447.8 MB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.701e-05/0.1446, allocations: 109.8 kB / 447.9 MB, free: 3.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1446, allocations: 0 / 447.9 MB, free: 3.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.576e-05/0.1447, allocations: 33.62 kB / 447.9 MB, free: 3.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1448, allocations: 130.7 kB / 448.1 MB, free: 3.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1449, allocations: 89.86 kB / 448.2 MB, free: 3.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1449, allocations: 25.7 kB / 448.2 MB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.145, allocations: 88.09 kB / 448.3 MB, free: 3.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.145, allocations: 0 / 448.3 MB, free: 3.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.145, allocations: 13.72 kB / 448.3 MB, free: 3.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1452, allocations: 315 kB / 448.6 MB, free: 3.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1452, allocations: 0 / 448.6 MB, free: 3.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.1452, allocations: 4 kB / 448.6 MB, free: 3.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.1453, allocations: 8.844 kB / 448.6 MB, free: 3.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1453, allocations: 3.938 kB / 448.6 MB, free: 3.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001299/0.1454, allocations: 41.64 kB / 448.6 MB, free: 3.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1454, allocations: 7.125 kB / 448.7 MB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1454, allocations: 0 / 448.7 MB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1454, allocations: 0 / 448.7 MB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1455, allocations: 4.094 kB / 448.7 MB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1455, allocations: 4 kB / 448.7 MB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.1455, allocations: 0 / 448.7 MB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1455, allocations: 3.984 kB / 448.7 MB, free: 3.125 MB / 414.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 0.0001476/0.1457, allocations: 185.1 kB / 448.8 MB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.1458, allocations: 112.9 kB / 449 MB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.1459, allocations: 104 kB / 449.1 MB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.644e-05/0.146, allocations: 180.2 kB / 449.2 MB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001163/0.1461, allocations: 188.2 kB / 449.4 MB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/0.1462, allocations: 180.3 kB / 449.6 MB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1465, allocations: 364.7 kB / 450 MB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.715e-05/0.1466, allocations: 101 kB / 450.1 MB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.1466, allocations: 101 kB / 450.1 MB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1467, allocations: 188.2 kB / 450.3 MB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.1468, allocations: 184.2 kB / 450.5 MB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001081/0.1469, allocations: 180.2 kB / 450.7 MB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001141/0.1471, allocations: 180.3 kB / 450.9 MB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1473, allocations: 307.7 kB / 451.2 MB, free: 488 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1474, allocations: 108.9 kB / 451.3 MB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.1475, allocations: 184.2 kB / 451.5 MB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1477, allocations: 101 kB / 451.6 MB, free: 72 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1478, allocations: 180.3 kB / 451.7 MB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.1479, allocations: 108.9 kB / 451.8 MB, free: 15.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.1479, allocations: 83.27 kB / 451.9 MB, free: 15.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 0 / 451.9 MB, free: 15.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1483, allocations: 0 / 451.9 MB, free: 15.69 MB / 430.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 0.0001682/0.1484, allocations: 170.5 kB / 452.1 MB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.377e-05/0.1485, allocations: 4 kB / 452.1 MB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1485, allocations: 4 kB / 452.1 MB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1485, allocations: 160 / 452.1 MB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.1491, allocations: 463.6 kB / 452.5 MB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.1494, allocations: 160.9 kB / 452.7 MB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.173e-05/0.1495, allocations: 55.34 kB / 452.8 MB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.944e-05/0.1495, allocations: 0 / 452.8 MB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1495, allocations: 8.5 kB / 452.8 MB, free: 14.79 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1495, allocations: 0 / 452.8 MB, free: 14.79 MB / 430.1 MB Notification: Performance of Templates: time 0.002793/0.1523, allocations: 169.1 kB / 452.9 MB, free: 14.62 MB / 430.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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3844874650239944] Failed to read output from testmodel.py, exit status != 0: 0.1621274510398507 0.18262582700000002 0.036152996 Calling exit ...