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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") translateModel(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 107.3 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01544/0.01544, allocations: 2.784 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 406.6 MB, free: 29.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09423, allocations: 50.24 MB / 456.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.009507/0.1038, allocations: 7.304 MB / 464.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 1.336e-05/0.1038, allocations: 11.98 kB / 464.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.1039, allocations: 0 / 464.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1039, allocations: 0 / 464.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1043, allocations: 104.3 kB / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.1043, allocations: 0 / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.1043, allocations: 0 / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.1044, allocations: 7.984 kB / 464.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01831/0.1227, allocations: 46.17 kB / 464.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.743e-05/0.1228, allocations: 7.938 kB / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-06/0.1228, allocations: 0 / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-06/0.1228, allocations: 0 / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.1228, allocations: 0 / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.1228, allocations: 0 / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.768e-05/0.1229, allocations: 4 kB / 464.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1229, allocations: 0 / 464.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1229, allocations: 0 / 464.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1229, allocations: 0 / 464.3 MB, free: 3.301 MB / 334.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.0003044/0.1232, allocations: 319.6 kB / 464.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1233, allocations: 12.03 kB / 464.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1233, allocations: 0.9375 kB / 464.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1234, allocations: 164.4 kB / 464.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1234, allocations: 384 / 464.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1234, allocations: 4.375 kB / 464.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.1235, allocations: 37.77 kB / 464.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1236, allocations: 0 / 464.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1236, allocations: 0 / 464.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1236, allocations: 0 / 464.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.1236, allocations: 4 kB / 464.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1239, allocations: 379.5 kB / 465.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.124, allocations: 173.1 kB / 465.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.124, allocations: 88.17 kB / 465.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1241, allocations: 75.28 kB / 465.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.1241, allocations: 109.8 kB / 465.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1241, allocations: 0 / 465.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.5e-05/0.1242, allocations: 25.7 kB / 465.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.1243, allocations: 138.5 kB / 465.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.1244, allocations: 101.8 kB / 465.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1244, allocations: 29.64 kB / 465.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1245, allocations: 84.27 kB / 466 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.1245, allocations: 0 / 466 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1245, allocations: 13.72 kB / 466 MB, free: 1.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1246, allocations: 314.8 kB / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.1246, allocations: 0 / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.1246, allocations: 0 / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.1247, allocations: 8.859 kB / 466.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1247, allocations: 0 / 466.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.717e-05/0.1248, allocations: 41.75 kB / 466.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1248, allocations: 4 kB / 466.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1248, allocations: 0 / 466.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1248, allocations: 4 kB / 466.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.1249, allocations: 3.938 kB / 466.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1249, allocations: 0 / 466.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.1249, allocations: 0 / 466.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1249, allocations: 0 / 466.4 MB, free: 0.9805 MB / 334.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 9.879e-05/0.125, allocations: 193.1 kB / 466.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.1251, allocations: 101 kB / 466.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.1251, allocations: 108.1 kB / 466.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/0.1252, allocations: 184.2 kB / 466.9 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-05/0.1253, allocations: 180.3 kB / 467.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-05/0.1253, allocations: 180.2 kB / 467.3 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1256, allocations: 405.2 kB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/0.1256, allocations: 108.9 kB / 467.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.1257, allocations: 105 kB / 467.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.43e-05/0.1257, allocations: 176.3 kB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.1258, allocations: 184.2 kB / 468.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-05/0.1259, allocations: 192.3 kB / 468.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-05/0.1259, allocations: 184.2 kB / 468.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1261, allocations: 303.8 kB / 468.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.1262, allocations: 186 kB / 469.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.1263, allocations: 176.3 kB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.1263, allocations: 108.9 kB / 469.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.1264, allocations: 184.2 kB / 469.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.1265, allocations: 105 kB / 469.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.1265, allocations: 75.28 kB / 469.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1265, allocations: 0 / 469.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1267, allocations: 7.984 kB / 469.7 MB, free: 13.38 MB / 350.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.0001232/0.1269, allocations: 174.5 kB / 469.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.434e-05/0.1269, allocations: 4 kB / 469.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1269, allocations: 0 / 469.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.1269, allocations: 0 / 469.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1273, allocations: 455.6 kB / 470.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.1276, allocations: 194.5 kB / 470.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1278, allocations: 0.6729 MB / 471.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.1279, allocations: 11.38 kB / 471.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1279, allocations: 0 / 471.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.001505/0.1294, allocations: 323.9 kB / 471.5 MB, free: 11.5 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile (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)