Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.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.001031/0.001031, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] 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.001021/0.001021, allocations: 225.2 kB / 22.25 MB, free: 3.566 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.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05335/0.05335, allocations: 17.94 MB / 330.4 MB, free: 444 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.91 kB / 464.5 MB, free: 23.53 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09338, allocations: 58 MB / 0.5103 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002639/0.09602, allocations: 1.755 MB / 0.512 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.09636, allocations: 143.5 kB / 0.5121 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.09647, allocations: 7.938 kB / 0.5121 GB, free: 11.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.09662, allocations: 19.8 kB / 0.5122 GB, free: 11.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.09679, allocations: 31.77 kB / 0.5122 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.042e-05/0.09688, allocations: 39.91 kB / 0.5122 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.09706, allocations: 123.7 kB / 0.5123 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.09722, allocations: 49.44 kB / 0.5124 GB, free: 11.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.09728, allocations: 51.78 kB / 0.5124 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.09739, allocations: 51.7 kB / 0.5125 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.09742, allocations: 12 kB / 0.5125 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.09743, allocations: 8 kB / 0.5125 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.09746, allocations: 19.92 kB / 0.5125 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.0975, allocations: 39.73 kB / 0.5126 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.09767, allocations: 119.4 kB / 0.5127 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09767, allocations: 0 / 0.5127 GB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09767, allocations: 0 / 0.5127 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.09768, allocations: 0 / 0.5127 GB, free: 10.95 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004666/0.09815, allocations: 353.8 kB / 0.513 GB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.09818, allocations: 8.031 kB / 0.513 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.09822, allocations: 42.73 kB / 0.5131 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.09825, allocations: 20.84 kB / 0.5131 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.09846, allocations: 158.8 kB / 0.5132 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.09847, allocations: 4.375 kB / 0.5132 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.0985, allocations: 12.38 kB / 0.5133 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.09868, allocations: 133.6 kB / 0.5134 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.09869, allocations: 0 / 0.5134 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.0987, allocations: 0 / 0.5134 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.09871, allocations: 4 kB / 0.5134 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.09882, allocations: 59.95 kB / 0.5134 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.09928, allocations: 396.4 kB / 0.5138 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.09954, allocations: 119.8 kB / 0.5139 GB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.133e-05/0.0996, allocations: 46.61 kB / 0.514 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.09962, allocations: 3.984 kB / 0.514 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.09964, allocations: 42.5 kB / 0.514 GB, free: 9.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.09964, allocations: 0 / 0.514 GB, free: 9.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002461/0.09988, allocations: 121.5 kB / 0.5141 GB, free: 9.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.09992, allocations: 107 kB / 0.5142 GB, free: 9.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.1, allocations: 158 kB / 0.5144 GB, free: 8.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1, allocations: 25.7 kB / 0.5144 GB, free: 8.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.1001, allocations: 116 kB / 0.5145 GB, free: 8.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1001, allocations: 31.73 kB / 0.5146 GB, free: 8.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1001, allocations: 25.72 kB / 0.5146 GB, free: 8.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003291/0.1005, allocations: 318.8 kB / 0.5149 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.1005, allocations: 19.98 kB / 0.5149 GB, free: 8.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.1006, allocations: 116.5 kB / 0.515 GB, free: 8.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1007, allocations: 83.39 kB / 0.5151 GB, free: 8.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1007, allocations: 0 / 0.5151 GB, free: 8.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002242/0.1009, allocations: 134.3 kB / 0.5152 GB, free: 8.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.101, allocations: 13.7 kB / 0.5152 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.101, allocations: 4.281 kB / 0.5152 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1011, allocations: 32.84 kB / 0.5153 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.1012, allocations: 20.23 kB / 0.5153 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007949/0.102, allocations: 1.342 MB / 0.5166 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.102, allocations: 19.91 kB / 0.5166 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.102, allocations: 4.062 kB / 0.5166 GB, free: 6.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.1021, allocations: 129.7 kB / 0.5168 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1021, allocations: 7.953 kB / 0.5168 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.1022, allocations: 20.34 kB / 0.5168 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1022, allocations: 3.984 kB / 0.5168 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.1022, allocations: 4 kB / 0.5168 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1022, allocations: 144 / 0.5168 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1023, allocations: 164.7 kB / 0.5169 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1023, allocations: 3.984 kB / 0.5169 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.1024, allocations: 19.98 kB / 0.517 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1024, allocations: 4 kB / 0.517 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1024, allocations: 7.938 kB / 0.517 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1024, allocations: 0 / 0.517 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1024, allocations: 0 / 0.517 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.1026, allocations: 237 kB / 0.5172 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1026, allocations: 11.92 kB / 0.5172 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1027, allocations: 7.938 kB / 0.5172 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.1027, allocations: 12.05 kB / 0.5172 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.1027, allocations: 7.984 kB / 0.5172 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1028, allocations: 4 kB / 0.5172 GB, free: 5.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.1028, allocations: 114.5 kB / 0.5174 GB, free: 5.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1028, allocations: 0 / 0.5174 GB, free: 5.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.103, allocations: 27.89 kB / 0.5174 GB, free: 5.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003877/0.1034, allocations: 0.7609 MB / 0.5181 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1037, allocations: 194.6 kB / 0.5183 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1037, allocations: 0 / 0.5183 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.1038, allocations: 36.05 kB / 0.5183 GB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.104, allocations: 32.05 kB / 0.5184 GB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1054, allocations: 1.727 MB / 0.5201 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.1055, allocations: 93.19 kB / 0.5201 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.1055, allocations: 8.484 kB / 0.5202 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.1056, allocations: 35.42 kB / 0.5202 GB, free: 2.594 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1056, allocations: 4 kB / 0.5202 GB, free: 2.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08386/0.1894, allocations: 3.483 MB / 0.5236 GB, free: 15.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.034, allocations: 8.062 kB / 0.5236 GB, free: 15.23 MB / 394.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=me --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_OMSimulator-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:leadLag.T1,leadLag.T2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result:der(leadLag.firstOrder.y),leadLag.T1,leadLag.T2,leadLag.feedback.u1,leadLag.feedback.u2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.u1,leadLagNoDynamics.feedback.u2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.diff.mat", vars={"leadLag.y", "leadLag.gain.u", "leadLag.firstOrder.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-cvode.diff.ref.mat", vars={"leadLag.y", "leadLag.gain.u", "leadLag.firstOrder.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_OMSimulator-cs-euler.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:leadLag.T1,leadLag.T2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result:der(leadLag.firstOrder.y),leadLag.T1,leadLag.T2,leadLag.feedback.u1,leadLag.feedback.u2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.u1,leadLagNoDynamics.feedback.u2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.diff.mat", vars={"leadLag.y", "leadLag.gain.u", "leadLag.firstOrder.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_OMSimulator-cs-euler.diff.ref.mat", vars={"leadLag.y", "leadLag.gain.u", "leadLag.firstOrder.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv --output-variables leadLag.T1 leadLag.T2 leadLag.feedback.y leadLag.firstOrder.T leadLag.firstOrder.initType leadLag.firstOrder.k leadLag.firstOrder.u leadLag.firstOrder.y leadLag.firstOrder.y_start leadLag.gain.k leadLag.gain.u leadLag.gain.y leadLag.initType leadLag.k leadLag.noDynamics leadLag.u leadLag.y leadLag.yStart leadLagAnalyticSolution.y leadLagNoDynamics.T1 leadLagNoDynamics.T2 leadLagNoDynamics.feedback.y leadLagNoDynamics.gain.k leadLagNoDynamics.gain.u leadLagNoDynamics.gain.y leadLagNoDynamics.initType leadLagNoDynamics.k leadLagNoDynamics.noDynamics leadLagNoDynamics.u leadLagNoDynamics.y leadLagNoDynamics.yStart leadLagNoDynamics.zero.y leadLagNoDynamicsAnalyticSolution.y step.height step.offset step.startTime step.y --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ../PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv: Error: Error opening file: PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:leadLag.T1,leadLag.T2,leadLag.feedback.y,leadLag.firstOrder.T,leadLag.firstOrder.initType,leadLag.firstOrder.k,leadLag.firstOrder.u,leadLag.firstOrder.y,leadLag.firstOrder.y_start,leadLag.gain.k,leadLag.gain.u,leadLag.gain.y,leadLag.initType,leadLag.k,leadLag.noDynamics,leadLag.u,leadLag.y,leadLag.yStart,leadLagAnalyticSolution.y,leadLagNoDynamics.T1,leadLagNoDynamics.T2,leadLagNoDynamics.feedback.y,leadLagNoDynamics.gain.k,leadLagNoDynamics.gain.u,leadLagNoDynamics.gain.y,leadLagNoDynamics.initType,leadLagNoDynamics.k,leadLagNoDynamics.noDynamics,leadLagNoDynamics.u,leadLagNoDynamics.y,leadLagNoDynamics.yStart,leadLagNoDynamics.zero.y,leadLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result: filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLag_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.070974089205265]