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.0009288/0.0009288, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009496/0.0009496, allocations: 169 kB / 23.02 MB, free: 1.551 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.9329/0.9329, allocations: 177.1 MB / 203.4 MB, free: 5.672 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.01811/0.01811, allocations: 1.989 MB / 261.9 MB, free: 11.09 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 2.134e-06/2.134e-06, allocations: 0 / 332.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.627e-05, allocations: 2.312 kB / 332.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.005115/0.005141, allocations: 7.536 MB / 339.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 4.058e-06/0.005145, allocations: 0 / 339.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.005164, allocations: 4 kB / 339.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.005186, allocations: 0 / 339.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.005482, allocations: 92.3 kB / 339.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.227e-06/0.005485, allocations: 8 kB / 339.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.005525, allocations: 7.938 kB / 339.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.005558, allocations: 0 / 339.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003376/0.008935, allocations: 41.52 kB / 340 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.546e-05/0.00895, allocations: 0 / 340 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.008958, allocations: 0 / 340 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-06/0.008961, allocations: 0 / 340 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.008968, allocations: 3.938 kB / 340 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.008981, allocations: 0 / 340 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.079e-05/0.009032, allocations: 4 kB / 340 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.009035, allocations: 0 / 340 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.009036, allocations: 4 kB / 340 MB, free: 9.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00904, allocations: 0 / 340 MB, free: 9.254 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.0001704/0.00921, allocations: 336.4 kB / 340.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.009244, allocations: 8.031 kB / 340.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.009274, allocations: 0.9375 kB / 340.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.549e-05/0.009309, allocations: 108.6 kB / 340.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.009319, allocations: 384 / 340.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.009329, allocations: 4.359 kB / 340.4 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/0.009395, allocations: 34.2 kB / 340.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.009404, allocations: 192 / 340.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.009412, allocations: 8.125 kB / 340.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.009419, allocations: 0 / 340.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.102e-05/0.00943, allocations: 0 / 340.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.009616, allocations: 470.2 kB / 341 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.009659, allocations: 269.4 kB / 341.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.009675, allocations: 126.9 kB / 341.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.009684, allocations: 123.2 kB / 341.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.009704, allocations: 160.5 kB / 341.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.009704, allocations: 0 / 341.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.703e-05/0.009752, allocations: 29.7 kB / 341.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.009774, allocations: 174.6 kB / 341.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/0.009823, allocations: 153.9 kB / 342 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-06/0.009827, allocations: 25.7 kB / 342 MB, free: 7.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.009852, allocations: 135.2 kB / 342.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.009854, allocations: 0 / 342.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.009874, allocations: 19.38 kB / 342.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.009911, allocations: 496.1 kB / 342.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-06/0.009919, allocations: 4 kB / 342.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.009923, allocations: 0 / 342.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.009944, allocations: 11.86 kB / 342.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009945, allocations: 4 kB / 342.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.708e-05/0.01001, allocations: 37.64 kB / 342.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.01002, allocations: 4 kB / 342.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01003, allocations: 0 / 342.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01004, allocations: 3.938 kB / 342.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.01009, allocations: 4 kB / 342.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01009, allocations: 0 / 342.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.0101, allocations: 0 / 342.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.0101, allocations: 0 / 342.7 MB, free: 6.352 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.846e-05/0.01014, allocations: 287.8 kB / 343 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.01017, allocations: 156.9 kB / 343.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.01019, allocations: 151.8 kB / 343.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.01021, allocations: 268.1 kB / 343.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.01023, allocations: 264.1 kB / 343.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.01025, allocations: 276 kB / 344.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.01033, allocations: 499.9 kB / 344.6 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.01034, allocations: 148.8 kB / 344.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.01035, allocations: 144.9 kB / 344.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/0.01037, allocations: 272.1 kB / 345.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.0104, allocations: 272 kB / 345.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.01042, allocations: 268.1 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/0.01044, allocations: 276 kB / 345.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.489e-05/0.0105, allocations: 440 kB / 346.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.01052, allocations: 148.8 kB / 346.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.01055, allocations: 272 kB / 346.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.466e-05/0.01058, allocations: 152.8 kB / 346.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.01061, allocations: 268.1 kB / 347.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01062, allocations: 148.9 kB / 347.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.01064, allocations: 123.1 kB / 347.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 347.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.01078, allocations: 8.094 kB / 347.4 MB, free: 1.418 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 6.237e-05/0.01084, allocations: 206.4 kB / 347.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.0109, allocations: 11.69 kB / 347.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0109, allocations: 0 / 347.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.0109, allocations: 0 / 347.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.01108, allocations: 0.7177 MB / 348.4 MB, free: 480 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.01142, allocations: 227.3 kB / 348.6 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.143e-05/0.01145, allocations: 51.36 kB / 348.6 MB, free: 148 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.01146, allocations: 4.062 kB / 348.6 MB, free: 144 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.01148, allocations: 8.5 kB / 348.6 MB, free: 136 kB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01148, allocations: 0 / 348.6 MB, free: 136 kB / 266.7 MB Notification: Performance of Templates: time 0.001385/0.01287, allocations: 185 kB / 348.8 MB, free: 15.95 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.8247507088817656]