Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.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.001449/0.001449, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.9591/0.9591, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.001105/0.001105, allocations: 160.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2888/0.2888, allocations: 83.87 MB / 396.2 MB, free: 14.89 MB / 330.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_VSwithVReInGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_VSwithVReInGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5608 GB, free: 5.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.31e-05, allocations: 2.281 kB / 0.5608 GB, free: 5.992 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid): time 0.005151/0.005164, allocations: 5.861 MB / 0.5665 GB, free: 96 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.2016/0.2067, allocations: 1.914 MB / 0.5684 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.2071, allocations: 11.72 kB / 0.5684 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2076, allocations: 256 kB / 0.5686 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.2086, allocations: 0.6416 MB / 0.5693 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2098, allocations: 0.7714 MB / 0.57 GB, free: 14.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2111, allocations: 1.613 MB / 0.5716 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.2114, allocations: 221.9 kB / 0.5718 GB, free: 13.26 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.2122, allocations: 0.9076 MB / 0.5727 GB, free: 12.87 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.2129, allocations: 0.6359 MB / 0.5733 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.2131, allocations: 127.4 kB / 0.5734 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.2135, allocations: 245.5 kB / 0.5737 GB, free: 12.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.2137, allocations: 335.2 kB / 0.574 GB, free: 12.47 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.214, allocations: 463.7 kB / 0.5744 GB, free: 12.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.2155, allocations: 1.719 MB / 0.5761 GB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2155, allocations: 5.75 kB / 0.5761 GB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2155, allocations: 0 / 0.5761 GB, free: 11.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.2155, allocations: 4 kB / 0.5761 GB, free: 11.63 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.006128/0.2217, allocations: 2.662 MB / 0.5787 GB, free: 10.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2217, allocations: 10.44 kB / 0.5787 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.2219, allocations: 144.6 kB / 0.5789 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.2254, allocations: 0.7068 MB / 0.5795 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008277/0.2262, allocations: 0.7633 MB / 0.5803 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.2264, allocations: 0.5301 MB / 0.5808 GB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2265, allocations: 88.23 kB / 0.5809 GB, free: 9.191 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.2283, allocations: 1.271 MB / 0.5821 GB, free: 8.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2284, allocations: 0 / 0.5821 GB, free: 8.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.2284, allocations: 40.09 kB / 0.5822 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2284, allocations: 20.02 kB / 0.5822 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.2302, allocations: 1.209 MB / 0.5834 GB, free: 8.312 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.2345, allocations: 3.037 MB / 0.5863 GB, free: 6.746 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.2386, allocations: 2.019 MB / 0.5883 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.2396, allocations: 0.7421 MB / 0.589 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/0.2397, allocations: 19.34 kB / 0.589 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2397, allocations: 40.84 kB / 0.5891 GB, free: 6.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 3.066e-06/0.2397, allocations: 0 / 0.5891 GB, free: 6.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.02328/0.263, allocations: 10.16 MB / 0.599 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.263, allocations: 100.6 kB / 0.5991 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.2639, allocations: 0.9213 MB / 0.6 GB, free: 356 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.264, allocations: 43.17 kB / 0.6 GB, free: 312 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.2642, allocations: 0.513 MB / 0.6005 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.2645, allocations: 364 kB / 0.6009 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.2648, allocations: 173.4 kB / 0.6011 GB, free: 15.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.2649, allocations: 341.8 kB / 0.6014 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.2659, allocations: 0.7113 MB / 0.6021 GB, free: 14.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.2674, allocations: 0.8577 MB / 0.6029 GB, free: 14.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.2703, allocations: 1.583 MB / 0.6045 GB, free: 12.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2703, allocations: 3.938 kB / 0.6045 GB, free: 12.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01194/0.2823, allocations: 4.656 MB / 0.609 GB, free: 8.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2823, allocations: 10.66 kB / 0.609 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2823, allocations: 7.938 kB / 0.609 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/0.2884, allocations: 2.349 MB / 0.6113 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.2889, allocations: 143.7 kB / 0.6115 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/0.3136, allocations: 11.88 MB / 0.6231 GB, free: 9.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.3147, allocations: 183.2 kB / 0.6232 GB, free: 9.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.3148, allocations: 51.86 kB / 0.6233 GB, free: 9.398 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.3153, allocations: 232.1 kB / 0.6235 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.3155, allocations: 127.2 kB / 0.6236 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.3271, allocations: 4.587 MB / 0.6281 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3271, allocations: 12 kB / 0.6281 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3271, allocations: 0.875 kB / 0.6281 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3271, allocations: 11.97 kB / 0.6281 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.3377, allocations: 5.662 MB / 0.6337 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3377, allocations: 0 / 0.6337 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.338, allocations: 103.8 kB / 0.6338 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004223/0.3422, allocations: 2.249 MB / 0.636 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.3423, allocations: 20.56 kB / 0.636 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.3603, allocations: 11.76 MB / 0.6475 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3603, allocations: 0 / 0.6475 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.3704, allocations: 5.674 MB / 0.653 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.3706, allocations: 135.1 kB / 0.6531 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.3708, allocations: 27.94 kB / 0.6532 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.3714, allocations: 119.8 kB / 0.6533 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/0.3719, allocations: 257 kB / 0.6535 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3719, allocations: 20 kB / 0.6535 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005807/0.3725, allocations: 0.6313 MB / 0.6541 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3725, allocations: 0 / 0.6541 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001068/0.3736, allocations: 491.5 kB / 0.6546 GB, free: 9.098 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01041/0.384, allocations: 6.241 MB / 0.6607 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004752/0.3887, allocations: 2.587 MB / 0.6632 GB, free: 232 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3887, allocations: 4 kB / 0.6632 GB, free: 228 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.392, allocations: 1.772 MB / 0.665 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.3927, allocations: 104.3 kB / 0.6651 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/0.4187, allocations: 16.45 MB / 0.6811 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4191, allocations: 0.5262 MB / 0.6817 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.4193, allocations: 86.97 kB / 0.6817 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.4197, allocations: 456.3 kB / 0.6822 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.4197, allocations: 0 / 0.6822 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/0.5755, allocations: 42.48 MB / 0.7237 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/9.814, allocations: 2.188 kB / 0.7237 GB, free: 2.258 MB / 0.5573 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_VSwithVReInGrid_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_VSwithVReInGrid.fmu) > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid.pipe 2>&1) [Timeout 52.5] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_VSwithVReInGrid.fmu) > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.VSwithVReInGrid_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.515649118460715]