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.001237/0.001237, allocations: 111 kB / 16.41 MB, free: 6.465 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.001215/0.001215, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01509/0.01509, allocations: 2.787 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 406.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07014/0.07134, allocations: 50.23 MB / 456.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007623/0.07899, allocations: 7.311 MB / 464.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.967e-06/0.07903, allocations: 7.984 kB / 464.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.07905, allocations: 0 / 464.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.07907, allocations: 0 / 464.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.07938, allocations: 112.4 kB / 464.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.0794, allocations: 0 / 464.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.503e-05/0.07944, allocations: 7.938 kB / 464.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.07948, allocations: 0 / 464.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01778/0.09726, allocations: 36 kB / 464.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.704e-05/0.0973, allocations: 3.938 kB / 464.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.09731, allocations: 0 / 464.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.09732, allocations: 4 kB / 464.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-06/0.09734, allocations: 3.938 kB / 464.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.307e-05/0.09735, allocations: 0 / 464.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.495e-05/0.0974, allocations: 4 kB / 464.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09741, allocations: 0 / 464.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09742, allocations: 0 / 464.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.09743, allocations: 0 / 464.3 MB, free: 3.422 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.0002593/0.09769, allocations: 315.5 kB / 464.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09774, allocations: 8.062 kB / 464.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.09777, allocations: 4.938 kB / 464.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.09786, allocations: 160.4 kB / 464.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.09787, allocations: 384 / 464.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.09789, allocations: 384 / 464.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.09797, allocations: 37.83 kB / 464.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.09798, allocations: 7.922 kB / 464.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.098, allocations: 8 kB / 464.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.09801, allocations: 0 / 464.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.546e-05/0.09802, allocations: 0 / 464.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.0983, allocations: 375.5 kB / 465.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.09838, allocations: 177.1 kB / 465.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.09842, allocations: 84.14 kB / 465.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.09844, allocations: 79.22 kB / 465.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.09849, allocations: 109.8 kB / 465.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.0985, allocations: 0 / 465.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.423e-05/0.09857, allocations: 29.7 kB / 465.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.0986, allocations: 59.34 kB / 465.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.09868, allocations: 93.86 kB / 465.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.09869, allocations: 25.7 kB / 465.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.09873, allocations: 80.14 kB / 465.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.09874, allocations: 0 / 465.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.09877, allocations: 13.72 kB / 465.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.09887, allocations: 310.8 kB / 466.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.09889, allocations: 8.109 kB / 466.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.0989, allocations: 4 kB / 466.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.09893, allocations: 12.73 kB / 466.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.09894, allocations: 0 / 466.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.228e-05/0.09903, allocations: 33.7 kB / 466.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.09905, allocations: 10.5 kB / 466.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.09906, allocations: 0 / 466.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.09908, allocations: 0 / 466.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.09912, allocations: 0 / 466.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.09913, allocations: 4.094 kB / 466.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.09915, allocations: 4 kB / 466.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.09916, allocations: 3.938 kB / 466.3 MB, free: 1.18 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 8.444e-05/0.09925, allocations: 189 kB / 466.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.09931, allocations: 108.9 kB / 466.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.09936, allocations: 108.1 kB / 466.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-05/0.09941, allocations: 184.2 kB / 466.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.09946, allocations: 105 kB / 467 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.09953, allocations: 182.1 kB / 467.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.09959, allocations: 184.2 kB / 467.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.09969, allocations: 101 kB / 467.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.09976, allocations: 184.1 kB / 467.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.982e-05/0.09984, allocations: 255.5 kB / 467.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00014/0.09999, allocations: 387.1 kB / 468.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.479e-05/0.1, allocations: 105 kB / 468.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.1001, allocations: 75.28 kB / 468.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Backend: time 2.9e-07/0.1001, allocations: 0 / 468.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1004, allocations: 90.36 kB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003952/0.1008, allocations: 0.8238 MB / 469.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.001755/0.1025, allocations: 177.2 kB / 469.5 MB, free: 13.79 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)