Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.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.0009279/0.0009279, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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 1.013/1.013, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001053/0.001053, allocations: 148.7 kB / 256 MB, free: 13.35 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.2936/0.2936, allocations: 83.31 MB / 395.7 MB, free: 15.46 MB / 330.7 MB " [Timeout remaining time 179] 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.CurrentLimValueCalc,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_CurrentLimValueCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_CurrentLimValueCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5598 GB, free: 7.395 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.761e-05, allocations: 4.812 kB / 0.5598 GB, free: 7.391 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc): time 0.002028/0.002046, allocations: 1.692 MB / 0.5615 GB, free: 5.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.00276, allocations: 0.4908 MB / 0.562 GB, free: 5.191 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.00283, allocations: 4 kB / 0.562 GB, free: 5.188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.002865, allocations: 11.81 kB / 0.562 GB, free: 5.176 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.002961, allocations: 23.78 kB / 0.562 GB, free: 5.152 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.003128, allocations: 55.86 kB / 0.5621 GB, free: 5.098 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003269, allocations: 131.6 kB / 0.5622 GB, free: 4.969 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.003392, allocations: 37.59 kB / 0.5622 GB, free: 4.926 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.003609, allocations: 99.72 kB / 0.5623 GB, free: 4.828 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.00368, allocations: 51.8 kB / 0.5624 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.003703, allocations: 16 kB / 0.5624 GB, free: 4.762 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.003719, allocations: 12 kB / 0.5624 GB, free: 4.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.003744, allocations: 27.91 kB / 0.5624 GB, free: 4.723 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.003783, allocations: 43.83 kB / 0.5625 GB, free: 4.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.003941, allocations: 143.5 kB / 0.5626 GB, free: 4.539 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003944, allocations: 0 / 0.5626 GB, free: 4.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003945, allocations: 0 / 0.5626 GB, free: 4.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.00395, allocations: 3.938 kB / 0.5626 GB, free: 4.535 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005859/0.004536, allocations: 380.6 kB / 0.563 GB, free: 4.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.004583, allocations: 11.97 kB / 0.563 GB, free: 4.121 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.091e-05/0.004674, allocations: 58.69 kB / 0.563 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.004721, allocations: 20.84 kB / 0.5631 GB, free: 4.035 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.004846, allocations: 132.5 kB / 0.5632 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.005269, allocations: 93.67 kB / 0.5633 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.00529, allocations: 12.38 kB / 0.5633 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.005579, allocations: 191.9 kB / 0.5635 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.00559, allocations: 192 / 0.5635 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.005607, allocations: 7.938 kB / 0.5635 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.005615, allocations: 4 kB / 0.5635 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.005835, allocations: 124.7 kB / 0.5636 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.006601, allocations: 0.5358 MB / 0.5641 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.006853, allocations: 125.4 kB / 0.5642 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.006968, allocations: 65.69 kB / 0.5643 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.006996, allocations: 7.875 kB / 0.5643 GB, free: 2.629 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.007026, allocations: 38.55 kB / 0.5643 GB, free: 2.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.007028, allocations: 0 / 0.5643 GB, free: 2.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006758/0.007704, allocations: 250.3 kB / 0.5646 GB, free: 2.328 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.007741, allocations: 77.11 kB / 0.5647 GB, free: 2.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.007868, allocations: 176.2 kB / 0.5648 GB, free: 2.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.007884, allocations: 29.7 kB / 0.5649 GB, free: 2.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.007942, allocations: 116 kB / 0.565 GB, free: 1.898 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.007969, allocations: 43.62 kB / 0.565 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.008013, allocations: 33.7 kB / 0.565 GB, free: 1.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.008101, allocations: 330.8 kB / 0.5654 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.008196, allocations: 43.97 kB / 0.5654 GB, free: 1.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.008284, allocations: 57.62 kB / 0.5655 GB, free: 1.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.008459, allocations: 113.6 kB / 0.5656 GB, free: 1.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008461, allocations: 0 / 0.5656 GB, free: 1.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000279/0.00874, allocations: 174.8 kB / 0.5657 GB, free: 1.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.008754, allocations: 8 kB / 0.5657 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.008759, allocations: 0 / 0.5657 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.008919, allocations: 32.81 kB / 0.5658 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.009011, allocations: 27.92 kB / 0.5658 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008812/0.009892, allocations: 1.318 MB / 0.5671 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.009959, allocations: 27.86 kB / 0.5671 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009967, allocations: 0 / 0.5671 GB, free: 15.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.688e-05/0.01005, allocations: 133.7 kB / 0.5672 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.01009, allocations: 15.89 kB / 0.5672 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.01039, allocations: 196 kB / 0.5674 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.0104, allocations: 3.984 kB / 0.5674 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.0104, allocations: 4 kB / 0.5674 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.0104, allocations: 0 / 0.5674 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.01068, allocations: 317.4 kB / 0.5677 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01069, allocations: 0 / 0.5677 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.01075, allocations: 27.98 kB / 0.5678 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-05/0.01083, allocations: 32.86 kB / 0.5678 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01084, allocations: 0 / 0.5678 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/0.01156, allocations: 1.319 MB / 0.5691 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01156, allocations: 0 / 0.5691 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.01186, allocations: 351.6 kB / 0.5694 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.01188, allocations: 19.89 kB / 0.5694 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.01189, allocations: 0 / 0.5694 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.01198, allocations: 11.98 kB / 0.5695 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.01203, allocations: 11.98 kB / 0.5695 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01204, allocations: 4 kB / 0.5695 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.01213, allocations: 144 kB / 0.5696 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01213, allocations: 0 / 0.5696 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002254/0.01235, allocations: 31.94 kB / 0.5696 GB, free: 12.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008598/0.01321, allocations: 0.9518 MB / 0.5706 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.01359, allocations: 234.7 kB / 0.5708 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0136, allocations: 4.062 kB / 0.5708 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.01377, allocations: 182.6 kB / 0.571 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01407, allocations: 15.94 kB / 0.571 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.01595, allocations: 2.119 MB / 0.5731 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.896e-05/0.01603, allocations: 107.4 kB / 0.5732 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.01608, allocations: 17.48 kB / 0.5732 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.01615, allocations: 52.48 kB / 0.5732 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01615, allocations: 0 / 0.5732 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08546/0.1016, allocations: 4.308 MB / 0.5774 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.336, allocations: 8.047 kB / 0.5774 GB, free: 4.73 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_CurrentLimValueCalc_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenIPSL_dev_OpenIPSL_Tests_GFCs_GFMs_CurrentLimiter_CurrentLimValueCalc.fmu) > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc.pipe 2>&1) [Timeout 52.5] (rm -f OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_fmpy.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_fmpy.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_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_CurrentLimValueCalc.fmu) > OpenIPSL_dev_OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.226933106780052]