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.001026/0.001026, 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.001135/0.001135, allocations: 216.1 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.9788/0.9788, allocations: 230.6 MB / 256 MB, free: 9.57 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.06209/0.06209, allocations: 17.94 MB / 330.4 MB, free: 400 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) 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",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicMax,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicMax",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.001373/0.001373, allocations: 71.91 kB / 463.8 MB, free: 24.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08988, allocations: 57.99 MB / 0.5096 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.001937/0.09182, allocations: 1.438 MB / 0.511 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.09258, allocations: 0.4989 MB / 0.5115 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.09261, allocations: 3.938 kB / 0.5115 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.09263, allocations: 3.938 kB / 0.5115 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.09271, allocations: 11.88 kB / 0.5115 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.09289, allocations: 83.81 kB / 0.5116 GB, free: 12.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.09304, allocations: 183.6 kB / 0.5118 GB, free: 11.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.09309, allocations: 11.94 kB / 0.5118 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.0932, allocations: 95.8 kB / 0.5119 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.09329, allocations: 79.78 kB / 0.5119 GB, free: 11.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.09333, allocations: 15.94 kB / 0.512 GB, free: 11.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.09335, allocations: 12 kB / 0.512 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.09339, allocations: 47.92 kB / 0.512 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.09347, allocations: 75.73 kB / 0.5121 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.0936, allocations: 135.6 kB / 0.5122 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.0936, allocations: 0 / 0.5122 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09361, allocations: 0 / 0.5122 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.09361, allocations: 4 kB / 0.5122 GB, free: 11.38 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006254/0.09424, allocations: 493.7 kB / 0.5127 GB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.09428, allocations: 12.03 kB / 0.5127 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.09433, allocations: 46.72 kB / 0.5127 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.09439, allocations: 24.88 kB / 0.5128 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.0945, allocations: 117.8 kB / 0.5129 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.09453, allocations: 20.34 kB / 0.5129 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.09457, allocations: 24.36 kB / 0.5129 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.09505, allocations: 436.5 kB / 0.5133 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.09506, allocations: 8 kB / 0.5133 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.09509, allocations: 7.984 kB / 0.5134 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.09509, allocations: 0 / 0.5134 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.09523, allocations: 67.94 kB / 0.5134 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.09552, allocations: 315.7 kB / 0.5137 GB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.09567, allocations: 78.53 kB / 0.5138 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.09579, allocations: 68.8 kB / 0.5139 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.0958, allocations: 0 / 0.5139 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008218/0.09662, allocations: 0.5867 MB / 0.5144 GB, free: 8.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.09662, allocations: 0 / 0.5144 GB, free: 8.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006904/0.09731, allocations: 0.6458 MB / 0.5151 GB, free: 8.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.09736, allocations: 63.34 kB / 0.5151 GB, free: 8.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.09745, allocations: 121.8 kB / 0.5152 GB, free: 8.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.09748, allocations: 45.69 kB / 0.5153 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.09754, allocations: 96.75 kB / 0.5154 GB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.09758, allocations: 79.56 kB / 0.5155 GB, free: 7.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.09764, allocations: 57.69 kB / 0.5155 GB, free: 7.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.09772, allocations: 326.8 kB / 0.5158 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.09782, allocations: 88.3 kB / 0.5159 GB, free: 7.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.09799, allocations: 228.5 kB / 0.5161 GB, free: 7.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.09823, allocations: 234.1 kB / 0.5163 GB, free: 6.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.09824, allocations: 4 kB / 0.5163 GB, free: 6.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002519/0.09849, allocations: 245.3 kB / 0.5166 GB, free: 6.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.0985, allocations: 5.719 kB / 0.5166 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.09851, allocations: 4 kB / 0.5166 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.09852, allocations: 0 / 0.5166 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.09859, allocations: 19.92 kB / 0.5166 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.0986, allocations: 0 / 0.5166 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.09872, allocations: 47.84 kB / 0.5167 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.09873, allocations: 12.06 kB / 0.5167 GB, free: 6.547 MB / 378.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.0001733/0.09891, allocations: 158.2 kB / 0.5168 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.09894, allocations: 31.89 kB / 0.5168 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.09899, allocations: 29.56 kB / 0.5169 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.09899, allocations: 4 kB / 0.5169 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.09899, allocations: 3.938 kB / 0.5169 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.099, allocations: 3.984 kB / 0.5169 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.09915, allocations: 228.6 kB / 0.5171 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.09915, allocations: 4 kB / 0.5171 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.09917, allocations: 4 kB / 0.5171 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.09917, allocations: 0 / 0.5171 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.0992, allocations: 28 kB / 0.5171 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.0992, allocations: 4 kB / 0.5171 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.0992, allocations: 3.984 kB / 0.5171 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.0997, allocations: 0.5641 MB / 0.5177 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.09982, allocations: 43.81 kB / 0.5177 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.09987, allocations: 23.97 kB / 0.5178 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.09998, allocations: 43.94 kB / 0.5178 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.1001, allocations: 87.81 kB / 0.5179 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1002, allocations: 47.95 kB / 0.5179 GB, free: 5.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.1002, allocations: 94.27 kB / 0.518 GB, free: 5.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1002, allocations: 0 / 0.518 GB, free: 5.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.1004, allocations: 79.97 kB / 0.5181 GB, free: 5.008 MB / 378.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.0007302/0.1011, allocations: 1.13 MB / 0.5192 GB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.1015, allocations: 280 kB / 0.5195 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1015, allocations: 4.062 kB / 0.5195 GB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.1017, allocations: 171.8 kB / 0.5196 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1019, allocations: 63.8 kB / 0.5197 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.104, allocations: 2.176 MB / 0.5218 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.15e-05/0.1041, allocations: 107.1 kB / 0.5219 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.1041, allocations: 29.95 kB / 0.522 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1043, allocations: 67.31 kB / 0.522 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1043, allocations: 0 / 0.522 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07893/0.1832, allocations: 6.214 MB / 0.5281 GB, free: 10.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.054, allocations: 14.08 kB / 0.5281 GB, free: 10.77 MB / 394.7 MB " [Timeout remaining time 653] (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: 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.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: 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.Electrical.Test.TestTapChangerLogicMax_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 9.940812266431749]