Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 179.3 kB / 15.43 MB, free: 5.773 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.1134/0.1134, allocations: 9.306 MB / 25.49 MB, free: 3.277 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.7 MB / 253.5 MB, free: 10.23 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007567, allocations: 99.3 kB / 306.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 11.23 kB / 369.1 MB, free: 53.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07844, allocations: 52.02 MB / 421.1 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01446/0.09296, allocations: 19.14 MB / 440.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.0974, allocations: 5.086 MB / 445.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.0975, allocations: 4 kB / 445.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.09838, allocations: 288.5 kB / 445.6 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.09998, allocations: 0.6309 MB / 446.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.1039, allocations: 1.485 MB / 447.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1042, allocations: 179.1 kB / 447.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.1042, allocations: 17.11 kB / 447.9 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1044, allocations: 83.53 kB / 448 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.1045, allocations: 55.7 kB / 448.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1045, allocations: 4 kB / 448.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.109, allocations: 2.849 MB / 450.9 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.109, allocations: 11.94 kB / 450.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.1091, allocations: 85.38 kB / 451 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1112, allocations: 1.422 MB / 452.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1112, allocations: 0 / 452.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1112, allocations: 0 / 452.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1112, allocations: 0 / 452.4 MB, free: 2.824 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007903/0.112, allocations: 0.5964 MB / 453 MB, free: 2.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1121, allocations: 8.031 kB / 453 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1121, allocations: 11.81 kB / 453 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1123, allocations: 178.8 kB / 453.2 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1123, allocations: 8 kB / 453.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1123, allocations: 4 kB / 453.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1126, allocations: 205.5 kB / 453.4 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1126, allocations: 4 kB / 453.4 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1126, allocations: 0 / 453.4 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1127, allocations: 12 kB / 453.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.113, allocations: 279.8 kB / 453.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.1136, allocations: 0.5298 MB / 454.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.114, allocations: 254.5 kB / 454.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1142, allocations: 205.2 kB / 454.7 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005545/0.1197, allocations: 7.235 MB / 461.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1198, allocations: 34.5 kB / 462 MB, free: 7.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.1198, allocations: 0 / 462 MB, free: 7.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008128/0.1206, allocations: 0.5885 MB / 462.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1207, allocations: 51.41 kB / 462.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.1207, allocations: 105.8 kB / 462.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1208, allocations: 29.7 kB / 462.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.1208, allocations: 84.8 kB / 462.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.1209, allocations: 122.2 kB / 462.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1209, allocations: 0 / 462.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.121, allocations: 322.8 kB / 463.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1212, allocations: 147.9 kB / 463.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1213, allocations: 156.8 kB / 463.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.1217, allocations: 330 kB / 463.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1217, allocations: 0 / 463.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004597/0.1222, allocations: 374.5 kB / 464.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1222, allocations: 7.938 kB / 464.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1222, allocations: 0 / 464.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1223, allocations: 4 kB / 464.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1224, allocations: 35.91 kB / 464.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1224, allocations: 4 kB / 464.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.1225, allocations: 27.73 kB / 464.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1225, allocations: 0 / 464.3 MB, free: 5.117 MB / 330.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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.73e-05/0.1227, allocations: 117.8 kB / 464.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1227, allocations: 15.84 kB / 464.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.1233, allocations: 439.9 kB / 464.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.1233, allocations: 4 kB / 464.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1233, allocations: 4 kB / 464.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1233, allocations: 3.938 kB / 464.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1236, allocations: 282.6 kB / 465.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1236, allocations: 4 kB / 465.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1237, allocations: 27.97 kB / 465.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1237, allocations: 3.938 kB / 465.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1237, allocations: 4 kB / 465.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1237, allocations: 3.938 kB / 465.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1237, allocations: 0 / 465.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1242, allocations: 488.1 kB / 465.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.1243, allocations: 108.9 kB / 465.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1244, allocations: 3.938 kB / 465.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.1245, allocations: 12.23 kB / 465.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1245, allocations: 15.98 kB / 465.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1245, allocations: 4 kB / 465.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.1246, allocations: 87.28 kB / 465.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 465.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008215/0.1254, allocations: 419.8 kB / 466.3 MB, free: 3.012 MB / 330.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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001278/0.1267, allocations: 0.6469 MB / 467 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.1272, allocations: 375.7 kB / 467.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1272, allocations: 4 kB / 467.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.1274, allocations: 207.9 kB / 467.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1279, allocations: 69.3 kB / 467.6 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1284, allocations: 436.8 kB / 468 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1287, allocations: 0.7091 MB / 468.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.01e-05/0.1287, allocations: 29.05 kB / 468.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1288, allocations: 19.44 kB / 468.8 MB, free: 492 kB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1288, allocations: 0 / 468.8 MB, free: 492 kB / 330.7 MB Notification: Performance of Templates: time 0.01614/0.1449, allocations: 11.46 MB / 480.3 MB, free: 5.039 MB / 346.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)