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.001329/0.001329, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001548/0.001548, allocations: 199 kB / 16.26 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1516/0.1516, allocations: 2.764 MB / 292.8 MB, free: 3.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 353.9 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.0965, allocations: 50.23 MB / 404.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007884/0.1044, allocations: 7.332 MB / 411.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 8.296e-06/0.1045, allocations: 4 kB / 411.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.1045, allocations: 0 / 411.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1045, allocations: 0 / 411.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1049, allocations: 112.3 kB / 411.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.935e-06/0.1049, allocations: 0 / 411.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.221e-05/0.1049, allocations: 0 / 411.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.105, allocations: 12 kB / 411.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0091/0.1141, allocations: 34.44 kB / 411.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.276e-05/0.1141, allocations: 3.938 kB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.1141, allocations: 0 / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.1141, allocations: 0 / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.1142, allocations: 0 / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.1142, allocations: 3.984 kB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.785e-05/0.1142, allocations: 4 kB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1142, allocations: 0 / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1142, allocations: 0 / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1142, allocations: 3.938 kB / 411.6 MB, free: 11.15 MB / 350.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.0002365/0.1145, allocations: 315.6 kB / 411.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1145, allocations: 8.031 kB / 412 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.1146, allocations: 0.9375 kB / 412 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.1146, allocations: 168.3 kB / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1147, allocations: 384 / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1147, allocations: 4.375 kB / 412.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.32e-05/0.1147, allocations: 29.83 kB / 412.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1148, allocations: 0 / 412.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1148, allocations: 4 kB / 412.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1148, allocations: 0 / 412.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.1148, allocations: 0 / 412.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.1151, allocations: 391.4 kB / 412.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.1151, allocations: 169.1 kB / 412.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.1152, allocations: 88.17 kB / 412.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1152, allocations: 75.28 kB / 412.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1152, allocations: 105.8 kB / 413 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1152, allocations: 0 / 413 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.831e-05/0.1153, allocations: 29.7 kB / 413 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1154, allocations: 130.6 kB / 413.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.1154, allocations: 97.86 kB / 413.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1154, allocations: 25.7 kB / 413.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.1155, allocations: 80.14 kB / 413.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1155, allocations: 0 / 413.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.1155, allocations: 17.7 kB / 413.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1156, allocations: 318.8 kB / 413.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-06/0.1156, allocations: 0 / 413.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.1156, allocations: 0 / 413.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.1157, allocations: 13.05 kB / 413.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1157, allocations: 0 / 413.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.077e-05/0.1158, allocations: 33.64 kB / 413.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1158, allocations: 4 kB / 413.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1158, allocations: 0 / 413.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1158, allocations: 3.984 kB / 413.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.1158, allocations: 11.92 kB / 413.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1159, allocations: 0 / 413.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.1159, allocations: 3.938 kB / 413.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.1159, allocations: 0 / 413.7 MB, free: 8.84 MB / 350.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 7.916e-05/0.116, allocations: 193.1 kB / 413.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.116, allocations: 105 kB / 414 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.1161, allocations: 108 kB / 414.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/0.1161, allocations: 176.3 kB / 414.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/0.1162, allocations: 188.3 kB / 414.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/0.1162, allocations: 184.2 kB / 414.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1164, allocations: 401.2 kB / 415 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.1165, allocations: 108.9 kB / 415.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1165, allocations: 105 kB / 415.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/0.1166, allocations: 176.3 kB / 415.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.1166, allocations: 184.2 kB / 415.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.438e-05/0.1167, allocations: 176.3 kB / 415.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.156e-05/0.1167, allocations: 188.2 kB / 416 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1168, allocations: 307.7 kB / 416.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.1169, allocations: 178.1 kB / 416.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.117, allocations: 184.3 kB / 416.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.1171, allocations: 108.9 kB / 416.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1171, allocations: 180.3 kB / 416.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.1171, allocations: 104.9 kB / 417 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.1172, allocations: 75.28 kB / 417.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1172, allocations: 0 / 417.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.1174, allocations: 8.094 kB / 417.1 MB, free: 5.254 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 8.45e-05/0.1175, allocations: 166.5 kB / 417.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.67e-05/0.1175, allocations: 4.344 kB / 417.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1176, allocations: 0 / 417.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1176, allocations: 0 / 417.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1179, allocations: 467.7 kB / 417.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.1182, allocations: 160.8 kB / 417.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1184, allocations: 0.669 MB / 418.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.1184, allocations: 4 kB / 418.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1184, allocations: 7.438 kB / 418.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1184, allocations: 0 / 418.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of Templates: time 0.00158/0.12, allocations: 169.2 kB / 418.7 MB, free: 3.562 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)