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.0009164/0.0009162, allocations: 100 kB / 15.05 MB, free: 1.105 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.001064/0.001064, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1472/0.1472, allocations: 2.781 MB / 293.8 MB, free: 4.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003312, allocations: 8 kB / 355.5 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 51.25 MB / 406.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.006555/0.1257, allocations: 4.867 MB / 411.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 7.334e-06/0.1258, allocations: 0 / 411.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1258, allocations: 0 / 411.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1258, allocations: 0 / 411.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1261, allocations: 107.6 kB / 411.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.846e-06/0.1262, allocations: 0 / 411.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.801e-05/0.1262, allocations: 4 kB / 411.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.1263, allocations: 0 / 411.7 MB, free: 12.05 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo:181:7-183:92:writable] Error: Internal error NFEvalFunction.evaluateExternal failed on ExternalMedia.Test.TestMedium.TestConstants.Medium.getCriticalMolarVolume, evaluation of userdefined external functions not yet implemented Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1265, allocations: 39.83 kB / 411.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.653e-05/0.1265, allocations: 3.938 kB / 411.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1265, allocations: 7.984 kB / 411.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.733e-05/0.1266, allocations: 11.98 kB / 411.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.1266, allocations: 0 / 411.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.1266, allocations: 25.7 kB / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.019e-05/0.1267, allocations: 4 kB / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1267, allocations: 0 / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1267, allocations: 0 / 411.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1267, allocations: 0 / 411.8 MB, free: 11.95 MB / 350.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.0003883/0.1271, allocations: 323.5 kB / 412.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1271, allocations: 12.03 kB / 412.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1272, allocations: 0 / 412.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1273, allocations: 171.1 kB / 412.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1273, allocations: 0 / 412.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1274, allocations: 0 / 412.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1275, allocations: 29.69 kB / 412.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1275, allocations: 0 / 412.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1275, allocations: 3.953 kB / 412.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1275, allocations: 4 kB / 412.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.1275, allocations: 4 kB / 412.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1279, allocations: 383.5 kB / 412.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.128, allocations: 169.1 kB / 412.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.128, allocations: 75.28 kB / 413 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.1281, allocations: 117.8 kB / 413.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1281, allocations: 0 / 413.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.428e-05/0.1282, allocations: 33.64 kB / 413.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1282, allocations: 126.7 kB / 413.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.1283, allocations: 97.84 kB / 413.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1283, allocations: 25.7 kB / 413.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.1284, allocations: 88.08 kB / 413.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.1284, allocations: 128 / 413.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1284, allocations: 4 kB / 413.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1285, allocations: 314.8 kB / 413.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-06/0.1285, allocations: 0 / 413.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.1286, allocations: 0 / 413.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.1286, allocations: 75.28 kB / 413.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.1286, allocations: 75.28 kB / 413.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.295e-05/0.1287, allocations: 33.64 kB / 413.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.1287, allocations: 79.28 kB / 414 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.1288, allocations: 87.23 kB / 414.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.1289, allocations: 150.6 kB / 414.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.72e-05/0.1289, allocations: 83.2 kB / 414.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-05/0.129, allocations: 150.6 kB / 414.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.1291, allocations: 83.22 kB / 414.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1291, allocations: 83.27 kB / 414.6 MB, free: 8.902 MB / 350.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.1292, allocations: 260.4 kB / 414.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1294, allocations: 101 kB / 415 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1294, allocations: 116 kB / 415.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-05/0.1295, allocations: 184.2 kB / 415.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001147/0.1296, allocations: 180.2 kB / 415.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.219e-05/0.1297, allocations: 180.3 kB / 415.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.13, allocations: 405.2 kB / 416 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-05/0.13, allocations: 108.9 kB / 416.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1301, allocations: 101 kB / 416.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.1303, allocations: 184.2 kB / 416.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/0.1304, allocations: 176.3 kB / 416.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001905/0.1306, allocations: 184.2 kB / 416.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.481e-05/0.1306, allocations: 184.2 kB / 417 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1309, allocations: 303.8 kB / 417.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.1311, allocations: 217.1 kB / 417.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.1312, allocations: 188.2 kB / 417.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.1313, allocations: 101 kB / 417.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.1313, allocations: 184.2 kB / 417.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.1314, allocations: 109.4 kB / 418 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.1314, allocations: 75.28 kB / 418.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1314, allocations: 3.938 kB / 418.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1317, allocations: 8.094 kB / 418.1 MB, free: 5.199 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/0.1321, allocations: 186.9 kB / 418.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.739e-05/0.1321, allocations: 8 kB / 418.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1321, allocations: 0 / 418.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1321, allocations: 0 / 418.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1324, allocations: 0.5224 MB / 418.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.1327, allocations: 156.1 kB / 419 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.133, allocations: 0.677 MB / 419.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.194e-06/0.133, allocations: 0 / 419.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-06/0.133, allocations: 7.438 kB / 419.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.133, allocations: 0 / 419.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Templates: time 0.002014/0.135, allocations: 200.5 kB / 419.9 MB, free: 3.387 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: