Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.001037/0.001037, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002429, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.001032/0.001032, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008976/0.001929, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.046/1.046, allocations: 177.1 MB / 189.5 MB, free: 3.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.156/1.202, allocations: 53.66 MB / 243.2 MB, free: 2.371 MB / 234.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.04904/0.04904, allocations: 13.28 MB / 257.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007746/0.05678, allocations: 5.048 MB / 262.2 MB, free: 15.81 MB / 266.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) Ignoring simflag -noemit -emit_protected=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicMax,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicMax,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 263.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.995e-06/9.228e-06, allocations: 5.688 kB / 263.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.001561/0.00157, allocations: 1.535 MB / 265.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006198/0.00219, allocations: 0.5143 MB / 265.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.002216, allocations: 0 / 265.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.957e-06/0.002225, allocations: 3.938 kB / 265.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.002262, allocations: 15.86 kB / 265.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.002375, allocations: 79.81 kB / 265.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.002503, allocations: 179.6 kB / 265.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.002535, allocations: 4 kB / 265.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.002667, allocations: 147.7 kB / 266.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.002753, allocations: 75.78 kB / 266.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.002781, allocations: 12 kB / 266.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.002799, allocations: 12 kB / 266.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.002826, allocations: 27.94 kB / 266.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.002874, allocations: 43.98 kB / 266.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.003001, allocations: 127.6 kB / 266.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.00301, allocations: 0 / 266.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.00301, allocations: 0 / 266.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.003021, allocations: 4 kB / 266.4 MB, free: 11.66 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005278/0.003549, allocations: 440 kB / 266.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.003576, allocations: 8.031 kB / 266.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.003619, allocations: 50.72 kB / 266.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.003686, allocations: 44.88 kB / 266.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.003759, allocations: 129.6 kB / 267 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.003774, allocations: 12.34 kB / 267 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.003808, allocations: 28.36 kB / 267.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.004111, allocations: 417 kB / 267.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004119, allocations: 192 / 267.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.004142, allocations: 20.11 kB / 267.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004146, allocations: 3.938 kB / 267.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.004218, allocations: 59.91 kB / 267.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.004409, allocations: 207.7 kB / 267.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.004509, allocations: 74.55 kB / 267.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.004582, allocations: 73.05 kB / 267.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.004589, allocations: 4 kB / 267.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.004992, allocations: 0.5221 MB / 268.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.132e-06/0.004993, allocations: 0 / 268.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003357/0.005328, allocations: 385.4 kB / 268.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.005361, allocations: 55.41 kB / 268.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.005426, allocations: 138.1 kB / 269 MB, free: 8.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.005451, allocations: 45.69 kB / 269 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.005479, allocations: 88.78 kB / 269.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.005522, allocations: 79.53 kB / 269.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.005575, allocations: 57.67 kB / 269.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.005703, allocations: 326.8 kB / 269.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.005744, allocations: 36.31 kB / 269.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.005843, allocations: 189 kB / 269.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.005951, allocations: 135.1 kB / 269.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005953, allocations: 0 / 269.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001387/0.006091, allocations: 173.3 kB / 270.1 MB, free: 7.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.006102, allocations: 4 kB / 270.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006106, allocations: 0 / 270.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.006115, allocations: 4 kB / 270.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.006175, allocations: 23.92 kB / 270.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.006178, allocations: 4 kB / 270.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.006267, allocations: 35.92 kB / 270.2 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.006278, allocations: 8 kB / 270.2 MB, free: 7.59 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: locked:DISCRETE(start = lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean valueUnderStop:DISCRETE(start = false fixed = true protected = true ) \"whether the monitored signal is under the stop limit\" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"wheter the monitored signal is above the maximum limit\" type: Boolean running:DISCRETE(start = runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.locked,$PRE.valueUnderStop,$PRE.valueAboveMax,$PRE.running,tValueAboveMaxWhileRunning,$PRE.tValueAboveMaxWhileRunning,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,valueAboveMax,valueUnderStop,locked,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001104/0.006388, allocations: 157.8 kB / 270.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.006432, allocations: 59.88 kB / 270.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.006469, allocations: 37.56 kB / 270.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00647, allocations: 0 / 270.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006474, allocations: 7.984 kB / 270.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006478, allocations: 0 / 270.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.006581, allocations: 153.2 kB / 270.6 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006582, allocations: 0 / 270.6 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.0066, allocations: 15.94 kB / 270.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.006602, allocations: 0 / 270.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.006623, allocations: 27.89 kB / 270.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.006625, allocations: 4 kB / 270.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006626, allocations: 0 / 270.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.006851, allocations: 321.8 kB / 271 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.006922, allocations: 27.88 kB / 271 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.006972, allocations: 31.89 kB / 271 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.007171, allocations: 35.95 kB / 271 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.007281, allocations: 83.8 kB / 271.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.007308, allocations: 31.95 kB / 271.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.653e-05/0.007324, allocations: 20.86 kB / 271.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007324, allocations: 0 / 271.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.007476, allocations: 75.97 kB / 271.3 MB, free: 6.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderStop,valueAboveMax,tValueAboveMaxWhileRunning) * Number of discrete states: 6 (valueAboveMax,tap,locked,state,valueUnderStop,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000152/0.007628, allocations: 0.4974 MB / 271.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.007836, allocations: 201.1 kB / 272 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007839, allocations: 0 / 272 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.007957, allocations: 160.9 kB / 272.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.008079, allocations: 59.84 kB / 272.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.00907, allocations: 1.319 MB / 273.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.0091, allocations: 73.31 kB / 273.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.009169, allocations: 33.97 kB / 273.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.009333, allocations: 127.3 kB / 273.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009333, allocations: 0 / 273.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02366/0.033, allocations: 6.847 MB / 280.6 MB, free: 13.25 MB / 282.7 MB Notification: FMU-only work: backend 7.576e-05, simCode 0.0004639, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/0.09345, allocations: 1.367 MB / 281.9 MB, free: 11.82 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.541, allocations: 7.766 kB / 281.9 MB, free: 11.81 MB / 282.7 MB " [Timeout remaining time 657] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_fmu --startTime=0 --stopTime=20 --stepSize=0.04 --mode=me --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_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.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.04 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_OMSimulator-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.diff.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-cvode.diff.ref.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.04 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_OMSimulator-cs-euler.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.diff.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_OMSimulator-cs-euler.diff.ref.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv --output-variables Ntap actionSel directAction lockedStart reverseAction runningStart stateStart t1st tNext tap tapMax tapMin tapStart --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv: Error: Error opening file: PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result: filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.diff.ref.mat: "" (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.04 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Ntap in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable Ntap from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable actionSel in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable actionSel from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable directAction in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable directAction from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable lockedStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable lockedStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable reverseAction in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable reverseAction from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable runningStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable runningStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable stateStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable stateStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapMax in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapMax from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapMin in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapMin from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:time,t1st,tNext,tap,state filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.diff.mat", vars={"tapStart", "tapMin", "tapMax", "tap", "stateStart", "runningStart", "reverseAction", "lockedStart", "directAction", "actionSel", "Ntap"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tapStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"tapStart", "tapMin", "tapMax", "tap", "stateStart", "runningStart", "reverseAction", "lockedStart", "directAction", "actionSel", "Ntap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.175697047263384]