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.00156/0.00156, allocations: 114 kB / 16.42 MB, free: 6.496 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.001839/0.001839, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.299/1.299, 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.01576/0.01576, allocations: 2.783 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06945/0.07067, allocations: 50.24 MB / 456.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.00723/0.07793, allocations: 7.3 MB / 464.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 5.961e-06/0.07795, allocations: 0 / 464.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.07798, allocations: 3.938 kB / 464.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.07799, allocations: 0 / 464.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.07831, allocations: 108.3 kB / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.865e-06/0.07832, allocations: 0 / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.631e-05/0.07836, allocations: 11.92 kB / 464.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.0784, allocations: 4 kB / 464.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/0.09556, allocations: 43.56 kB / 464.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.0956, allocations: 3.938 kB / 464.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.09561, allocations: 4 kB / 464.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-06/0.09562, allocations: 0 / 464.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.09564, allocations: 0 / 464.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.09565, allocations: 0 / 464.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.584e-05/0.0957, allocations: 3.984 kB / 464.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09571, allocations: 0 / 464.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.09572, allocations: 4 kB / 464.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.09573, allocations: 4 kB / 464.3 MB, free: 3.285 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.0002443/0.09598, allocations: 315.6 kB / 464.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09602, allocations: 16 kB / 464.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.09605, allocations: 0.9375 kB / 464.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.09614, allocations: 164.4 kB / 464.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.09615, allocations: 384 / 464.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.09617, allocations: 384 / 464.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.066e-05/0.09625, allocations: 29.83 kB / 464.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.09627, allocations: 4 kB / 464.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.09628, allocations: 7.984 kB / 464.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09629, allocations: 0 / 464.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.09631, allocations: 0 / 464.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.09657, allocations: 387.4 kB / 465.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.326e-05/0.09665, allocations: 165.1 kB / 465.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.09668, allocations: 88.14 kB / 465.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.09671, allocations: 75.28 kB / 465.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.09675, allocations: 105.8 kB / 465.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.09676, allocations: 0 / 465.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.689e-05/0.09683, allocations: 37.67 kB / 465.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.09686, allocations: 55.34 kB / 465.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.09693, allocations: 97.77 kB / 465.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.09694, allocations: 25.7 kB / 465.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.09698, allocations: 80.14 kB / 465.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.09698, allocations: 4 kB / 465.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.09701, allocations: 17.64 kB / 465.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.0971, allocations: 314.8 kB / 466.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.09712, allocations: 0 / 466.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.09713, allocations: 4 kB / 466.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.09715, allocations: 12.98 kB / 466.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09716, allocations: 0 / 466.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.886e-05/0.09724, allocations: 33.64 kB / 466.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.09726, allocations: 8 kB / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.09727, allocations: 0 / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.09729, allocations: 0 / 466.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.09733, allocations: 3.984 kB / 466.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09734, allocations: 0 / 466.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.09736, allocations: 4 kB / 466.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.09737, allocations: 4.031 kB / 466.3 MB, free: 1.039 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 6.928e-05/0.09744, allocations: 185.1 kB / 466.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.0975, allocations: 105 kB / 466.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.09754, allocations: 112 kB / 466.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/0.09759, allocations: 176.3 kB / 466.9 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/0.09763, allocations: 108.9 kB / 467 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.09769, allocations: 182.1 kB / 467.2 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.09776, allocations: 180.3 kB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.09784, allocations: 104.9 kB / 467.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.09791, allocations: 188.2 kB / 467.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.135e-05/0.09799, allocations: 255.5 kB / 467.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001265/0.09813, allocations: 383.1 kB / 468.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.797e-05/0.09817, allocations: 108.9 kB / 468.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.758e-05/0.0982, allocations: 79.27 kB / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Backend: time 2.21e-07/0.09821, allocations: 0 / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.09849, allocations: 70.41 kB / 468.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003843/0.09888, allocations: 0.8356 MB / 469.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Templates: time 0.001676/0.1006, allocations: 185.1 kB / 469.5 MB, free: 13.65 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)