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.001446/0.001446, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001639/0.001639, allocations: 169 kB / 23.27 MB, free: 1.223 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.9617/0.9617, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.01863/0.01863, allocations: 1.996 MB / 262.2 MB, free: 10.91 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.713e-06/1.713e-06, allocations: 0 / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.853e-05, allocations: 2.312 kB / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.005915/0.005944, allocations: 7.443 MB / 340.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.179e-06/0.005949, allocations: 7.984 kB / 340.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.00597, allocations: 4 kB / 340.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.005985, allocations: 0 / 340.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.006241, allocations: 92.3 kB / 340.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.006244, allocations: 4 kB / 340.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.052e-05/0.006275, allocations: 7.938 kB / 340.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.006306, allocations: 0 / 340.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.00966, allocations: 43.47 kB / 340.4 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.362e-05/0.009674, allocations: 0 / 340.4 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.009681, allocations: 4 kB / 340.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-06/0.009684, allocations: 0 / 340.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-06/0.009691, allocations: 0 / 340.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-06/0.0097, allocations: 0 / 340.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.309e-05/0.009743, allocations: 4 kB / 340.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.009746, allocations: 0 / 340.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009747, allocations: 0 / 340.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.009751, allocations: 0 / 340.4 MB, free: 9.039 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.0001548/0.009906, allocations: 340.4 kB / 340.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.009941, allocations: 12.03 kB / 340.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.915e-05/0.00996, allocations: 4.938 kB / 340.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.424e-05/0.009994, allocations: 112.6 kB / 340.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.01, allocations: 384 / 340.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.01001, allocations: 384 / 340.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.849e-05/0.01006, allocations: 30.27 kB / 340.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.01006, allocations: 192 / 340.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.01007, allocations: 4.125 kB / 340.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.01007, allocations: 0 / 340.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-06/0.01008, allocations: 7.922 kB / 340.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.01023, allocations: 454.8 kB / 341.3 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.01026, allocations: 265.5 kB / 341.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.01028, allocations: 130.9 kB / 341.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.01029, allocations: 119.2 kB / 341.8 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.01031, allocations: 156.5 kB / 342 MB, free: 7.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.01031, allocations: 0 / 342 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.891e-05/0.01035, allocations: 33.64 kB / 342 MB, free: 7.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.01037, allocations: 174.6 kB / 342.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.131e-05/0.01041, allocations: 149.9 kB / 342.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-06/0.01042, allocations: 29.64 kB / 342.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.01045, allocations: 135.2 kB / 342.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.01045, allocations: 0 / 342.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.01047, allocations: 19.48 kB / 342.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.0105, allocations: 0.4923 MB / 343 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-06/0.01051, allocations: 4 kB / 343 MB, free: 6.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-06/0.01051, allocations: 0 / 343 MB, free: 6.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.01053, allocations: 11.62 kB / 343 MB, free: 6.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01053, allocations: 0 / 343 MB, free: 6.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.612e-05/0.01057, allocations: 37.69 kB / 343 MB, free: 6.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.01058, allocations: 7.938 kB / 343.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01059, allocations: 0 / 343.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.0106, allocations: 0 / 343.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.01063, allocations: 8.094 kB / 343.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.01063, allocations: 0 / 343.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-06/0.01064, allocations: 0 / 343.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.01064, allocations: 0 / 343.1 MB, free: 6.145 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 3.997e-05/0.01068, allocations: 275.8 kB / 343.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.01071, allocations: 152.8 kB / 343.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.01073, allocations: 155.8 kB / 343.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.01075, allocations: 272 kB / 343.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.01077, allocations: 268.1 kB / 344.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.01079, allocations: 264.1 kB / 344.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.38e-05/0.01088, allocations: 488.5 kB / 344.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.01089, allocations: 144.9 kB / 345 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.01091, allocations: 148.8 kB / 345.2 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/0.01093, allocations: 268.2 kB / 345.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.01095, allocations: 268.1 kB / 345.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-05/0.01097, allocations: 272 kB / 346 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/0.01099, allocations: 276 kB / 346.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.01106, allocations: 448 kB / 346.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01109, allocations: 144.9 kB / 346.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.01112, allocations: 276 kB / 347.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.01116, allocations: 144.9 kB / 347.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.01119, allocations: 280 kB / 347.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.01121, allocations: 148.9 kB / 347.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.829e-05/0.01123, allocations: 123.1 kB / 347.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 347.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.01135, allocations: 0 / 347.8 MB, free: 1.246 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 7.313e-05/0.01143, allocations: 210.4 kB / 348 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.028e-05/0.01148, allocations: 15.61 kB / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01148, allocations: 4 kB / 348 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01148, allocations: 4.156 kB / 348 MB, free: 1.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01167, allocations: 0.7061 MB / 348.7 MB, free: 300 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.01195, allocations: 219.1 kB / 348.9 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.01203, allocations: 55.34 kB / 349 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.01205, allocations: 0 / 349 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.01209, allocations: 66.2 kB / 349 MB, free: 15.91 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01209, allocations: 0 / 349 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.001306/0.0134, allocations: 197 kB / 349.2 MB, free: 15.71 MB / 282.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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6574128111824393]