Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.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.001091/0.001091, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001133/0.001133, allocations: 215.6 kB / 22.25 MB, free: 3.57 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.9557/0.9557, allocations: 230.6 MB / 256 MB, free: 9.59 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.05554/0.05554, allocations: 17.94 MB / 330.4 MB, free: 408 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.TestDerivativeLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag",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.001584/0.001584, allocations: 71.89 kB / 464.5 MB, free: 23.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09726, allocations: 57.99 MB / 0.5103 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002484/0.09975, allocations: 1.782 MB / 0.512 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.1001, allocations: 159.5 kB / 0.5122 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.1002, allocations: 7.938 kB / 0.5122 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1003, allocations: 19.8 kB / 0.5122 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1005, allocations: 23.8 kB / 0.5122 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.783e-05/0.1005, allocations: 43.88 kB / 0.5123 GB, free: 11.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1007, allocations: 123.7 kB / 0.5124 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1008, allocations: 45.45 kB / 0.5124 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.1009, allocations: 51.72 kB / 0.5125 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.101, allocations: 43.7 kB / 0.5125 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.101, allocations: 12 kB / 0.5125 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.101, allocations: 8 kB / 0.5125 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.101, allocations: 15.88 kB / 0.5125 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.1011, allocations: 39.8 kB / 0.5126 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1012, allocations: 107.5 kB / 0.5127 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1012, allocations: 4 kB / 0.5127 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1012, allocations: 0 / 0.5127 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1012, allocations: 4 kB / 0.5127 GB, free: 10.9 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004488/0.1016, allocations: 345.9 kB / 0.513 GB, free: 10.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1017, allocations: 12.03 kB / 0.513 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.1017, allocations: 38.73 kB / 0.5131 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.1018, allocations: 16.84 kB / 0.5131 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.102, allocations: 162.3 kB / 0.5132 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.102, allocations: 4.562 kB / 0.5132 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.102, allocations: 12.36 kB / 0.5133 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1022, allocations: 141.2 kB / 0.5134 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1022, allocations: 3.984 kB / 0.5134 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1022, allocations: 4 kB / 0.5134 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1022, allocations: 7.938 kB / 0.5134 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1023, allocations: 63.91 kB / 0.5135 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.1031, allocations: 0.5514 MB / 0.514 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1033, allocations: 104 kB / 0.5141 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1034, allocations: 42.62 kB / 0.5141 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1034, allocations: 0 / 0.5141 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1034, allocations: 42.5 kB / 0.5142 GB, free: 9.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1034, allocations: 0 / 0.5142 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002462/0.1037, allocations: 113.8 kB / 0.5143 GB, free: 9.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1037, allocations: 110.8 kB / 0.5144 GB, free: 8.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.1038, allocations: 149.5 kB / 0.5145 GB, free: 8.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1038, allocations: 29.7 kB / 0.5146 GB, free: 8.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.1039, allocations: 123.9 kB / 0.5147 GB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.1039, allocations: 23.81 kB / 0.5147 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1039, allocations: 25.7 kB / 0.5147 GB, free: 8.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.104, allocations: 322.8 kB / 0.515 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.104, allocations: 31.92 kB / 0.5151 GB, free: 8.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.1041, allocations: 99.58 kB / 0.5152 GB, free: 8.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1042, allocations: 93.09 kB / 0.5153 GB, free: 7.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1042, allocations: 0 / 0.5153 GB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001382/0.1044, allocations: 121.9 kB / 0.5154 GB, free: 7.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1044, allocations: 9.719 kB / 0.5154 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1044, allocations: 3.938 kB / 0.5154 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1044, allocations: 4 kB / 0.5154 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.1045, allocations: 35.91 kB / 0.5154 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1045, allocations: 0 / 0.5154 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1045, allocations: 11.89 kB / 0.5154 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1045, allocations: 8 kB / 0.5154 GB, free: 7.773 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.1046, allocations: 125.7 kB / 0.5156 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1046, allocations: 16 kB / 0.5156 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.1047, allocations: 16.41 kB / 0.5156 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1047, allocations: 4 kB / 0.5156 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1047, allocations: 0 / 0.5156 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1047, allocations: 0 / 0.5156 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1048, allocations: 172.6 kB / 0.5158 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1048, allocations: 0 / 0.5158 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.1049, allocations: 19.92 kB / 0.5158 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1049, allocations: 4 kB / 0.5158 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1049, allocations: 4 kB / 0.5158 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1049, allocations: 4 kB / 0.5158 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1049, allocations: 0 / 0.5158 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1051, allocations: 229.1 kB / 0.516 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.1051, allocations: 19.88 kB / 0.516 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1051, allocations: 0 / 0.516 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.1052, allocations: 7.984 kB / 0.516 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1052, allocations: 15.92 kB / 0.5161 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1052, allocations: 3.938 kB / 0.5161 GB, free: 7.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.1053, allocations: 114.6 kB / 0.5162 GB, free: 6.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1053, allocations: 0 / 0.5162 GB, free: 6.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.1054, allocations: 19.95 kB / 0.5162 GB, free: 6.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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.0003603/0.1058, allocations: 0.757 MB / 0.5169 GB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.1059, allocations: 64.27 kB / 0.517 GB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1059, allocations: 8 kB / 0.517 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.106, allocations: 31.92 kB / 0.517 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1062, allocations: 25.61 kB / 0.5171 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1074, allocations: 1.673 MB / 0.5187 GB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.1075, allocations: 89.19 kB / 0.5188 GB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.1075, allocations: 12.48 kB / 0.5188 GB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.1076, allocations: 39.42 kB / 0.5188 GB, free: 4.074 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1076, allocations: 0 / 0.5188 GB, free: 4.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/0.1855, allocations: 3.138 MB / 0.5219 GB, free: 1.055 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.85, allocations: 11.53 kB / 0.5219 GB, free: 1.047 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=me --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_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.TestDerivativeLag_OMSimulator-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_OMSimulator-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:derivativeLag.T1,derivativeLag.Td,derivativeLag.feedback.y,derivativeLag.gain.k,derivativeLag.gain.u,derivativeLag.gain.y,derivativeLag.initType,derivativeLag.integrator.initType,derivativeLag.integrator.k,derivativeLag.integrator.u,derivativeLag.integrator.y,derivativeLag.integrator.y_start,derivativeLag.noDynamics,derivativeLag.u,derivativeLag.y,derivativeLag.yStart,derivativeLagAnalyticSolution.y,derivativeLagNoDynamics.T1,derivativeLagNoDynamics.Td,derivativeLagNoDynamics.feedback.y,derivativeLagNoDynamics.gain.k,derivativeLagNoDynamics.gain.u,derivativeLagNoDynamics.gain.y,derivativeLagNoDynamics.initType,derivativeLagNoDynamics.noDynamics,derivativeLagNoDynamics.u,derivativeLagNoDynamics.y,derivativeLagNoDynamics.yStart,derivativeLagNoDynamics.zero.y,derivativeLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result:der(derivativeLag.integrator.y),derivativeLag.T1,derivativeLag.Td,derivativeLag.feedback.u1,derivativeLag.feedback.u2,derivativeLag.feedback.y,derivativeLag.gain.k,derivativeLag.gain.u,derivativeLag.gain.y,derivativeLag.initType,derivativeLag.integrator.initType,derivativeLag.integrator.k,derivativeLag.integrator.u,derivativeLag.integrator.use_reset,derivativeLag.integrator.use_set,derivativeLag.integrator.y,derivativeLag.integrator.y_start,derivativeLag.noDynamics,derivativeLag.u,derivativeLag.y,derivativeLag.yStart,derivativeLagAnalyticSolution.y,derivativeLagNoDynamics.T1,derivativeLagNoDynamics.Td,derivativeLagNoDynamics.feedback.u1,derivativeLagNoDynamics.feedback.u2,derivativeLagNoDynamics.feedback.y,derivativeLagNoDynamics.gain.k,derivativeLagNoDynamics.gain.u,derivativeLagNoDynamics.gain.y,derivativeLagNoDynamics.initType,derivativeLagNoDynamics.noDynamics,derivativeLagNoDynamics.u,derivativeLagNoDynamics.y,derivativeLagNoDynamics.yStart,derivativeLagNoDynamics.zero.y,derivativeLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.diff.mat", vars={"derivativeLag.y", "derivativeLag.integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-cvode.diff.ref.mat", vars={"derivativeLag.y", "derivativeLag.integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_OMSimulator-cs-euler.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:derivativeLag.T1,derivativeLag.Td,derivativeLag.feedback.y,derivativeLag.gain.k,derivativeLag.gain.u,derivativeLag.gain.y,derivativeLag.initType,derivativeLag.integrator.initType,derivativeLag.integrator.k,derivativeLag.integrator.u,derivativeLag.integrator.y,derivativeLag.integrator.y_start,derivativeLag.noDynamics,derivativeLag.u,derivativeLag.y,derivativeLag.yStart,derivativeLagAnalyticSolution.y,derivativeLagNoDynamics.T1,derivativeLagNoDynamics.Td,derivativeLagNoDynamics.feedback.y,derivativeLagNoDynamics.gain.k,derivativeLagNoDynamics.gain.u,derivativeLagNoDynamics.gain.y,derivativeLagNoDynamics.initType,derivativeLagNoDynamics.noDynamics,derivativeLagNoDynamics.u,derivativeLagNoDynamics.y,derivativeLagNoDynamics.yStart,derivativeLagNoDynamics.zero.y,derivativeLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result:der(derivativeLag.integrator.y),derivativeLag.T1,derivativeLag.Td,derivativeLag.feedback.u1,derivativeLag.feedback.u2,derivativeLag.feedback.y,derivativeLag.gain.k,derivativeLag.gain.u,derivativeLag.gain.y,derivativeLag.initType,derivativeLag.integrator.initType,derivativeLag.integrator.k,derivativeLag.integrator.u,derivativeLag.integrator.use_reset,derivativeLag.integrator.use_set,derivativeLag.integrator.y,derivativeLag.integrator.y_start,derivativeLag.noDynamics,derivativeLag.u,derivativeLag.y,derivativeLag.yStart,derivativeLagAnalyticSolution.y,derivativeLagNoDynamics.T1,derivativeLagNoDynamics.Td,derivativeLagNoDynamics.feedback.u1,derivativeLagNoDynamics.feedback.u2,derivativeLagNoDynamics.feedback.y,derivativeLagNoDynamics.gain.k,derivativeLagNoDynamics.gain.u,derivativeLagNoDynamics.gain.y,derivativeLagNoDynamics.initType,derivativeLagNoDynamics.noDynamics,derivativeLagNoDynamics.u,derivativeLagNoDynamics.y,derivativeLagNoDynamics.yStart,derivativeLagNoDynamics.zero.y,derivativeLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.diff.mat", vars={"derivativeLag.y", "derivativeLag.integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_OMSimulator-cs-euler.diff.ref.mat", vars={"derivativeLag.y", "derivativeLag.integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy_res.csv --output-variables derivativeLag.T1 derivativeLag.Td derivativeLag.feedback.y derivativeLag.gain.k derivativeLag.gain.u derivativeLag.gain.y derivativeLag.initType derivativeLag.integrator.initType derivativeLag.integrator.k derivativeLag.integrator.u derivativeLag.integrator.y derivativeLag.integrator.y_start derivativeLag.noDynamics derivativeLag.u derivativeLag.y derivativeLag.yStart derivativeLagAnalyticSolution.y derivativeLagNoDynamics.T1 derivativeLagNoDynamics.Td derivativeLagNoDynamics.feedback.y derivativeLagNoDynamics.gain.k derivativeLagNoDynamics.gain.u derivativeLagNoDynamics.gain.y derivativeLagNoDynamics.initType derivativeLagNoDynamics.noDynamics derivativeLagNoDynamics.u derivativeLagNoDynamics.y derivativeLagNoDynamics.yStart derivativeLagNoDynamics.zero.y derivativeLagNoDynamicsAnalyticSolution.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_TestDerivativeLag.fmu) > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy_res.csv: Error: Error opening file: PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:derivativeLag.T1,derivativeLag.Td,derivativeLag.feedback.y,derivativeLag.gain.k,derivativeLag.gain.u,derivativeLag.gain.y,derivativeLag.initType,derivativeLag.integrator.initType,derivativeLag.integrator.k,derivativeLag.integrator.u,derivativeLag.integrator.y,derivativeLag.integrator.y_start,derivativeLag.noDynamics,derivativeLag.u,derivativeLag.y,derivativeLag.yStart,derivativeLagAnalyticSolution.y,derivativeLagNoDynamics.T1,derivativeLagNoDynamics.Td,derivativeLagNoDynamics.feedback.y,derivativeLagNoDynamics.gain.k,derivativeLagNoDynamics.gain.u,derivativeLagNoDynamics.gain.y,derivativeLagNoDynamics.initType,derivativeLagNoDynamics.noDynamics,derivativeLagNoDynamics.u,derivativeLagNoDynamics.y,derivativeLagNoDynamics.yStart,derivativeLagNoDynamics.zero.y,derivativeLagNoDynamicsAnalyticSolution.y,step.height,step.offset,step.startTime,step.y,time Variables in the result: filterSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_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.TestDerivativeLag_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDerivativeLag_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_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.TestDerivativeLag_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 9.814187563024461]