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.0007452/0.0007452, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001789, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007385/0.0007385, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001758, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.958/0.958, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08678/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.009885/0.009885, allocations: 2.093 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002907/0.01279, allocations: 1.27 MB / 247.5 MB, free: 11.4 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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.633e-06/1.633e-06, allocations: 0 / 248.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.126e-05, allocations: 13.84 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.008981/0.009012, allocations: 7.935 MB / 256.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.906e-06/0.009021, allocations: 4 kB / 256.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.009037, allocations: 0 / 256.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.506e-06/0.009046, allocations: 0 / 256.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.00931, allocations: 95.41 kB / 256.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.009313, allocations: 0 / 256.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.00936, allocations: 15.94 kB / 256.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.009397, allocations: 0 / 256.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007817/0.01721, allocations: 114.8 kB / 257 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.416e-05/0.01723, allocations: 4 kB / 257 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.01724, allocations: 0 / 257 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-06/0.01724, allocations: 0 / 257 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.01725, allocations: 0 / 257 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.01726, allocations: 0 / 257 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.259e-05/0.01731, allocations: 3.938 kB / 257 MB, free: 1.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.01733, allocations: 4 kB / 257 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01733, allocations: 4 kB / 257 MB, free: 1.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.01734, allocations: 0 / 257 MB, free: 1.902 MB / 250.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.0002223/0.01756, allocations: 208.8 kB / 257.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.0176, allocations: 8.031 kB / 257.2 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.01763, allocations: 4.938 kB / 257.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.01769, allocations: 105.8 kB / 257.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.0177, allocations: 384 / 257.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.01771, allocations: 384 / 257.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.699e-05/0.01777, allocations: 30.27 kB / 257.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.01778, allocations: 192 / 257.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.01779, allocations: 8.125 kB / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.01779, allocations: 0 / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-06/0.0178, allocations: 3.938 kB / 257.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.01802, allocations: 290.9 kB / 257.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.01809, allocations: 169.2 kB / 257.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.01811, allocations: 80.14 kB / 257.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.01814, allocations: 75.28 kB / 257.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.01818, allocations: 117.8 kB / 258 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.01818, allocations: 0 / 258 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.205e-05/0.01824, allocations: 33.67 kB / 258.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.01829, allocations: 130.7 kB / 258.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.01835, allocations: 98.72 kB / 258.3 MB, free: 452 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.01836, allocations: 25.7 kB / 258.3 MB, free: 420 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.0184, allocations: 88.08 kB / 258.4 MB, free: 328 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.01841, allocations: 0 / 258.4 MB, free: 328 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.01843, allocations: 13.72 kB / 258.4 MB, free: 308 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.01853, allocations: 314.8 kB / 258.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.01853, allocations: 0 / 258.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-06/0.01854, allocations: 0 / 258.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.01856, allocations: 12.98 kB / 258.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01856, allocations: 4 kB / 258.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.068e-05/0.01862, allocations: 29.7 kB / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01864, allocations: 11.98 kB / 258.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01865, allocations: 3.938 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01865, allocations: 3.938 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.0187, allocations: 0 / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.0187, allocations: 0 / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.01871, allocations: 4 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.01872, allocations: 0 / 258.8 MB, free: 15.91 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 7.104e-05/0.01879, allocations: 189.2 kB / 259 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.01884, allocations: 104.9 kB / 259.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.01889, allocations: 124 kB / 259.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/0.01893, allocations: 180.2 kB / 259.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.878e-05/0.01898, allocations: 180.3 kB / 259.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.01903, allocations: 176.3 kB / 259.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01919, allocations: 317.4 kB / 260 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.01923, allocations: 105 kB / 260.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.01926, allocations: 108.9 kB / 260.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.01929, allocations: 113 kB / 260.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-05/0.01934, allocations: 176.3 kB / 260.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.0194, allocations: 184.2 kB / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.296e-05/0.01945, allocations: 188.2 kB / 260.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.015e-05/0.0195, allocations: 184.2 kB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.01961, allocations: 303.8 kB / 261.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.01966, allocations: 188.2 kB / 261.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.01973, allocations: 101 kB / 261.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.01978, allocations: 184.1 kB / 261.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.01981, allocations: 105 kB / 261.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.125e-05/0.01983, allocations: 4.859 kB / 261.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01983, allocations: 0 / 261.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.02001, allocations: 4.094 kB / 262 MB, free: 12.58 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 9.277e-05/0.02011, allocations: 147.7 kB / 262.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.0202, allocations: 7.984 kB / 262.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.0202, allocations: 3.938 kB / 262.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.02025, allocations: 3.938 kB / 262.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.0205, allocations: 459.7 kB / 262.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.02111, allocations: 161.6 kB / 262.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.02114, allocations: 51.36 kB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.02116, allocations: 4.094 kB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.02119, allocations: 51.38 kB / 262.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02119, allocations: 0 / 262.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.001537/0.02273, allocations: 172.5 kB / 263 MB, free: 11.48 MB / 266.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 & (cd run_cvode && ../ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1) [Timeout 240] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_dassl.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_dassl.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_dassl.sim & (cd run_dassl && ../ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_gbode.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_gbode.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_gbode.sim & (cd run_gbode && ../ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_ida.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_ida.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_ida.sim & (cd run_ida && ../ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.2654191311448812]