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.0009561/0.0009561, 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/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.0009758/0.0009758, allocations: 169.8 kB / 22.46 MB, free: 2.105 MB / 18.57 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.025/1.025, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.05198/0.05198, allocations: 13.27 MB / 272.5 MB, free: 416 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 406.7 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.056e-05, allocations: 9.234 kB / 406.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002114/0.002135, allocations: 1.784 MB / 408.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003275/0.002462, allocations: 167.3 kB / 408.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.002561, allocations: 7.938 kB / 408.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.002694, allocations: 27.73 kB / 408.7 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.002834, allocations: 23.84 kB / 408.7 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.836e-05/0.002912, allocations: 47.89 kB / 408.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.003038, allocations: 115.6 kB / 408.9 MB, free: 3.004 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.003158, allocations: 41.5 kB / 408.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.003228, allocations: 63.81 kB / 409 MB, free: 2.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.003306, allocations: 31.91 kB / 409 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.003325, allocations: 8 kB / 409 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.003338, allocations: 12 kB / 409 MB, free: 2.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.003368, allocations: 27.84 kB / 409.1 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.003397, allocations: 23.92 kB / 409.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.00353, allocations: 111.5 kB / 409.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003532, allocations: 0 / 409.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003533, allocations: 0 / 409.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003537, allocations: 0 / 409.2 MB, free: 2.688 MB / 330.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.000392/0.003929, allocations: 338 kB / 409.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003964, allocations: 12.03 kB / 409.5 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.003996, allocations: 42.73 kB / 409.6 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.004026, allocations: 16.84 kB / 409.6 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.004201, allocations: 161.5 kB / 409.8 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.004215, allocations: 8.562 kB / 409.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.004237, allocations: 8.375 kB / 409.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.004427, allocations: 134.8 kB / 409.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.004436, allocations: 3.938 kB / 409.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.004447, allocations: 4 kB / 409.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004452, allocations: 0 / 409.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.004565, allocations: 71.89 kB / 410 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.00529, allocations: 0.5593 MB / 410.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.00548, allocations: 99.77 kB / 410.6 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.00554, allocations: 46.75 kB / 410.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005552, allocations: 3.938 kB / 410.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.005572, allocations: 50.48 kB / 410.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005573, allocations: 0 / 410.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002344/0.005808, allocations: 113.5 kB / 410.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.005846, allocations: 106.8 kB / 411 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.00594, allocations: 153.5 kB / 411.1 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.005953, allocations: 25.7 kB / 411.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.006011, allocations: 119.9 kB / 411.3 MB, free: 404 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.006029, allocations: 31.98 kB / 411.3 MB, free: 372 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.006063, allocations: 33.7 kB / 411.3 MB, free: 332 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.006135, allocations: 322.8 kB / 411.6 MB, free: 0 / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.006264, allocations: 19.5 kB / 411.7 MB, free: 21.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.00635, allocations: 93.39 kB / 411.7 MB, free: 21.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.006467, allocations: 97.42 kB / 411.8 MB, free: 21.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.00647, allocations: 1.312 kB / 411.8 MB, free: 21.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001731/0.006643, allocations: 118.4 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.00666, allocations: 5.344 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.006666, allocations: 2.406 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.006684, allocations: 2.656 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.006788, allocations: 25.19 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.006794, allocations: 2.828 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.006847, allocations: 12.3 kB / 412 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.006858, allocations: 8.344 kB / 412 MB, free: 21.33 MB / 330.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 6.841e-05/0.006926, allocations: 136.2 kB / 412.1 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.006946, allocations: 12 kB / 412.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.006972, allocations: 13.56 kB / 412.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.006976, allocations: 6 kB / 412.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.006981, allocations: 1.188 kB / 412.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006984, allocations: 1.062 kB / 412.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.007123, allocations: 176.8 kB / 412.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007123, allocations: 0 / 412.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.007194, allocations: 17.2 kB / 412.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.007196, allocations: 1.812 kB / 412.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.007205, allocations: 1.891 kB / 412.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.007207, allocations: 9.312 kB / 412.4 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.00721, allocations: 1.625 kB / 412.4 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.007439, allocations: 230.3 kB / 412.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.007461, allocations: 10.86 kB / 412.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.007474, allocations: 1.062 kB / 412.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.00752, allocations: 7 kB / 412.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.007566, allocations: 13.88 kB / 412.6 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007571, allocations: 5.562 kB / 412.6 MB, free: 20.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.007619, allocations: 112.2 kB / 412.8 MB, free: 20.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007619, allocations: 0 / 412.8 MB, free: 20.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.00779, allocations: 27.22 kB / 412.8 MB, free: 20.82 MB / 330.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.0003033/0.008093, allocations: 0.7457 MB / 413.5 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.008274, allocations: 72.98 kB / 413.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008276, allocations: 1.188 kB / 413.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.008329, allocations: 24.83 kB / 413.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.008575, allocations: 29.77 kB / 413.7 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.009737, allocations: 1.664 MB / 415.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.009788, allocations: 88.23 kB / 415.4 MB, free: 18.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.009836, allocations: 16.97 kB / 415.4 MB, free: 18.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.009885, allocations: 38.08 kB / 415.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009886, allocations: 3.125 kB / 415.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.08702, allocations: 3.299 MB / 418.8 MB, free: 17.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.132, allocations: 6.688 kB / 418.8 MB, free: 17.61 MB / 330.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] Reference file matches (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] Reference file matches (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: 10.074782583862543]