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.001238/0.001238, 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.9836/0.9836, allocations: 177.1 MB / 199.4 MB, free: 5.922 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.001873/0.001873, allocations: 152.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.3746/0.3746, allocations: 83.87 MB / 396.2 MB, free: 14.88 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.282e-06/1.282e-06, allocations: 0 / 0.5607 GB, free: 6.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.935e-05, allocations: 2.281 kB / 0.5607 GB, free: 6.406 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.GFCs.GFMs.CurrentLimiter.CurrentLimValueCalc): time 0.002014/0.002033, allocations: 1.7 MB / 0.5624 GB, free: 4.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.002722, allocations: 0.4986 MB / 0.5629 GB, free: 4.188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.002789, allocations: 0 / 0.5629 GB, free: 4.188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.002823, allocations: 11.81 kB / 0.5629 GB, free: 4.176 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.002923, allocations: 31.72 kB / 0.5629 GB, free: 4.145 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003095, allocations: 55.86 kB / 0.563 GB, free: 4.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003222, allocations: 131.6 kB / 0.5631 GB, free: 3.961 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.00334, allocations: 37.59 kB / 0.5631 GB, free: 3.918 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.003551, allocations: 91.78 kB / 0.5632 GB, free: 3.828 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.003619, allocations: 47.86 kB / 0.5633 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.003642, allocations: 12 kB / 0.5633 GB, free: 3.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.00366, allocations: 12 kB / 0.5633 GB, free: 3.758 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.003687, allocations: 35.83 kB / 0.5633 GB, free: 3.723 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.003722, allocations: 39.91 kB / 0.5634 GB, free: 3.684 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.00387, allocations: 143.4 kB / 0.5635 GB, free: 3.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003873, allocations: 8 kB / 0.5635 GB, free: 3.535 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.003875, allocations: 0 / 0.5635 GB, free: 3.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003878, allocations: 0 / 0.5635 GB, free: 3.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.0004901/0.004369, allocations: 374 kB / 0.5639 GB, free: 3.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.004406, allocations: 11.97 kB / 0.5639 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.004475, allocations: 54.69 kB / 0.5639 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.004515, allocations: 20.83 kB / 0.564 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.558e-05/0.00461, allocations: 133.6 kB / 0.5641 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.004686, allocations: 89.67 kB / 0.5642 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.004705, allocations: 16.38 kB / 0.5642 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.004946, allocations: 187.9 kB / 0.5644 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004954, allocations: 192 / 0.5644 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.00497, allocations: 11.94 kB / 0.5644 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.004976, allocations: 4 kB / 0.5644 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.005161, allocations: 120.7 kB / 0.5645 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.005757, allocations: 0.532 MB / 0.565 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.005955, allocations: 129.1 kB / 0.5651 GB, free: 1.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.006049, allocations: 61.81 kB / 0.5652 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.006065, allocations: 0 / 0.5652 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.006084, allocations: 46.55 kB / 0.5652 GB, free: 1.594 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.006085, allocations: 3.984 kB / 0.5652 GB, free: 1.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005657/0.006651, allocations: 254.1 kB / 0.5655 GB, free: 1.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.006684, allocations: 85.17 kB / 0.5656 GB, free: 1.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.006793, allocations: 180.2 kB / 0.5657 GB, free: 1.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.006806, allocations: 25.7 kB / 0.5658 GB, free: 1.012 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.006854, allocations: 120 kB / 0.5659 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.00712, allocations: 43.58 kB / 0.5659 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.007156, allocations: 29.7 kB / 0.5659 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.00723, allocations: 330.8 kB / 0.5663 GB, free: 492 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.007306, allocations: 39.97 kB / 0.5663 GB, free: 452 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.007387, allocations: 61.69 kB / 0.5664 GB, free: 384 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.007545, allocations: 109.6 kB / 0.5665 GB, free: 268 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007546, allocations: 3.938 kB / 0.5665 GB, free: 264 kB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000258/0.007804, allocations: 166.4 kB / 0.5666 GB, free: 88 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.007818, allocations: 11.98 kB / 0.5666 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.007823, allocations: 0 / 0.5666 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.007967, allocations: 32.77 kB / 0.5667 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.008053, allocations: 32.02 kB / 0.5667 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007959/0.008849, allocations: 1.314 MB / 0.568 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.00891, allocations: 23.86 kB / 0.568 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.00892, allocations: 8 kB / 0.568 GB, free: 14.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 7.334e-05/0.008993, allocations: 125.9 kB / 0.5681 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.009022, allocations: 11.95 kB / 0.5681 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.009309, allocations: 199.8 kB / 0.5683 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009311, allocations: 4 kB / 0.5683 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.009314, allocations: 0 / 0.5683 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009317, allocations: 0 / 0.5683 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.009573, allocations: 321.5 kB / 0.5686 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009575, allocations: 0 / 0.5686 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.009646, allocations: 31.86 kB / 0.5687 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-05/0.009722, allocations: 28.83 kB / 0.5687 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.009732, allocations: 4 kB / 0.5687 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006372/0.01037, allocations: 1.314 MB / 0.57 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01037, allocations: 0 / 0.57 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.01066, allocations: 358.5 kB / 0.5703 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.01067, allocations: 11.91 kB / 0.5703 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01068, allocations: 8 kB / 0.5703 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.01077, allocations: 7.984 kB / 0.5704 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01081, allocations: 11.98 kB / 0.5704 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01082, allocations: 8 kB / 0.5704 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.0109, allocations: 148.1 kB / 0.5705 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.0109, allocations: 0 / 0.5705 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002131/0.01111, allocations: 35.94 kB / 0.5706 GB, free: 11.74 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.0005543/0.01166, allocations: 0.9388 MB / 0.5715 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.01204, allocations: 238.6 kB / 0.5717 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01204, allocations: 0 / 0.5717 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.01221, allocations: 182.6 kB / 0.5719 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01251, allocations: 30.06 kB / 0.5719 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.01456, allocations: 2.118 MB / 0.574 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.01462, allocations: 107.4 kB / 0.5741 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.01466, allocations: 17.48 kB / 0.5741 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.01473, allocations: 48.48 kB / 0.5741 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01473, allocations: 0 / 0.5741 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08311/0.09784, allocations: 4.316 MB / 0.5783 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.555, allocations: 8.875 kB / 0.5784 GB, free: 3.715 MB / 0.4948 GB " [Timeout remaining time 652] (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.381839365698397]