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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003003/0.0003003, allocations: 0 / 0, free: 0 / 0 " [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.0003513/0.0003513, allocations: 0 / 0, free: 0 / 0 " [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.3196/0.3196, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.003515/0.003515, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ExternalMedia.Test.TestMedium.TestConstants,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(ExternalMedia.Test.TestMedium.TestConstants,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.51e-07/5.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.047e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.01929/0.01932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 1.422e-05/0.01933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.01935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.01936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.02003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 1.604e-06/0.02003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.02008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.02011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.02422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 1.423e-05/0.02424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.02425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.02425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.02427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.122e-05/0.02428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 4.058e-05/0.02432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.02433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.841e-06/0.02434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.465e-05/0.02435, allocations: 0 / 0, free: 0 / 0 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.0003424/0.0247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.775e-05/0.02477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.02491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.02493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.02495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.02508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.0251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.02511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.02513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.02547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.0257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.02575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.02578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.02582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=0): time 8.486e-06/0.02583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=0): time 0.0001552/0.02599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.02605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.02614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.388e-06/0.02614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.02618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.02619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.02622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 8.866e-05/0.02631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.02632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.02633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.02635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001895/0.02654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.02658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.19e-05/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.02665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.02666, allocations: 0 / 0, free: 0 / 0 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 9.035e-05/0.02675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.02692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.02711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001817/0.02729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/0.02735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.0274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/0.02803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.02806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/0.02811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.02816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.981e-05/0.02821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.041e-05/0.02826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.02839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.02844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/0.02853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.02866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.02872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.02875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 4.664e-05/0.02879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.042e-06/0.02879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009524/0.02975, allocations: 0 / 0, free: 0 / 0 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 0.0001763/0.02992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.666e-05/0.03001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.03002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.03116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.03163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.149e-05/0.03168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.03171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.093e-05/0.03174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0004339/0.03217, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.2340082339942455]